Webroute

@webroute/routeInterfaces

UseMiddlewareInput

Extends

  • MiddlewareFn<TResult, [RequestCtx<TParams, TQuery, TBody, THeaders, TState, TProviders>]>

Type Parameters

Type ParameterDefault type
TParamsunknown
TQueryunknown
TBodyunknown
THeadersunknown
TStateunknown
TProvidersunknown
TResult extends DataResult | voidvoid

UseMiddlewareInput(request, ...rest): Awaitable<MiddlewareResult<TResult, any[]>>

Parameters

ParameterType
requestRequest
...rest[object]

Returns

Awaitable<MiddlewareResult<TResult, any[]>>

On this page