Skip to main content

IQEndpointDefinition

@quik/http


@quik/http / IQEndpointDefinition

Interface: IQEndpointDefinition

Defined in: http/src/router/endpoint/types.ts:48

Properties

alias?

optional alias?: string

Defined in: http/src/router/endpoint/types.ts:51


condition?

optional condition?: () => boolean

Defined in: http/src/router/endpoint/types.ts:53

Returns

boolean


contentType?

optional contentType?: string

Defined in: http/src/router/endpoint/types.ts:58


engineMiddlewares

engineMiddlewares: unknown[]

Defined in: http/src/router/endpoint/types.ts:56


flags

flags: string[]

Defined in: http/src/router/endpoint/types.ts:52


method

method: QEndpointAction<any>

Defined in: http/src/router/endpoint/types.ts:54


middlewares

middlewares: QEndpointMiddleware[]

Defined in: http/src/router/endpoint/types.ts:55


others?

optional others?: Record<string, unknown>

Defined in: http/src/router/endpoint/types.ts:60


parameters

parameters: EndpointParametersDefinition

Defined in: http/src/router/endpoint/types.ts:57


path

path: string

Defined in: http/src/router/endpoint/types.ts:50


requestType?

optional requestType?: string

Defined in: http/src/router/endpoint/types.ts:59


verb

verb: QHTTPVerb

Defined in: http/src/router/endpoint/types.ts:49