Interface DispatchMimeTypes<TMeans>

Request processing handlers for accepted MIME types.

Type Parameters

Hierarchy

  • DispatchMimeTypes

Indexable

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

Properties

Produces any content.

This is a fallback handler typically.

application/json?: RequestHandlerMethod<DispatchMimeTypes<TMeans>, TMeans>

Produces JSON.

text/html?: RequestHandlerMethod<DispatchMimeTypes<TMeans>, TMeans>

Produces HTML.

Generated using TypeDoc