Interface DispatchMethods<TMeans>

Request processing handlers for HTTP request methods.

Type Parameters

Hierarchy

  • DispatchMethods

Indexable

[method: string]: RequestHandlerMethod<this, TMeans> | undefined

Properties

delete?: RequestHandlerMethod<DispatchMethods<TMeans>, TMeans>

Request processing handler for HTTP DELETE.

get?: RequestHandlerMethod<DispatchMethods<TMeans>, TMeans>

Request processing handler for HTTP GET.

It is also called for HTTP HEAD requests unless a [head] handler is also defined.

head?: RequestHandlerMethod<DispatchMethods<TMeans>, TMeans>

Request processing handler for HTTP HEAD.

options?: RequestHandlerMethod<DispatchMethods<TMeans>, TMeans>

Request processing handler for HTTP OPTIONS.

patch?: RequestHandlerMethod<DispatchMethods<TMeans>, TMeans>

Request processing handler for HTTP PATCH.

post?: RequestHandlerMethod<DispatchMethods<TMeans>, TMeans>

Request processing handler for HTTP POST.

put?: RequestHandlerMethod<DispatchMethods<TMeans>, TMeans>

Request processing handler for HTTP PUT.

Generated using TypeDoc