Skip to main content

IQResponse

@quik/http


@quik/http / IQResponse

Interface: IQResponse<TResponse>

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

Type Parameters

TResponse

TResponse = any

Properties

body?

optional body?: TResponse

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


contentType?

optional contentType?: string

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


fileName?

optional fileName?: string

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


headers?

optional headers?: Record<string, string>

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


isFile?

optional isFile?: boolean

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


redirect?

optional redirect?: string

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


status?

optional status?: number

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


toJSON?

optional toJSON?: () => IQResponse<TResponse>

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

Returns

IQResponse<TResponse>