Type aliases
ApplicationRequestHandler
Type parameters
CookieOptions
Cookie
Options: Omit<Cookie, "name" | "value">
CookieWithOptionalValue
Cookie
WithOptionalValue: Omit<Cookie, "value"> & { value?: Cookie["value"] }
DenoResponseBody
DenoResponseBody: undefined | string | Uint8Array | Deno.Reader | ReadableStream
Errback
Errback
: (err
: Error) => void
ErrorRequestHandler
Type parameters
-
P: Params = ParamsDictionary
-
ResBody = any
-
ReqQuery = any
HTTPOptions
HTTPOptions: Omit<Deno.ListenOptions, "transport">
HTTPSOptions
HTTPSOptions: Omit<Deno.ListenTlsOptions & { certFile: string; keyFile: string }, "transport">
ParamsArray
ParamsArray: string[]
ParsedURL
ParsedURL: URL & { _raw?: string | null; path?: string | null; query?: string | null }
PathParams
Path
Params: string | RegExp | Array<string | RegExp>
RangeParserResultInvalid
RangeParserResultInvalid: -2
RangeParserResultUnsatisfiable
RangeParserResultUnsatisfiable: -1
RequestHandlerParams
Type parameters
-
P: Params = ParamsDictionary
-
ResBody = any
-
ReqQuery = any
ResponseBody
Response
Body: null | undefined | number | boolean | Record<string, unknown> | DenoResponseBody
Send
Send<ResBody, T>: (body?: ResBody) => T
Type parameters
-
ResBody = any
-
T = OpineResponse<ResBody>