Skip to main content
Module

x/dactyl/Method.ts>defineRouteDecorator

Web framework for Deno, built on top of Oak 🦇
Latest
variable defineRouteDecorator
import { defineRouteDecorator } from "https://deno.land/x/dactyl@v0.1.0-alpha/Method.ts";

Responsible for producing function decorators for all given HttpMethods. Uses a curried function to return the function decorator.

type

(path?: string, requestMethod: HttpMethod) => MethodDecorator