Skip to content

FastifyGuardResponse

Defined in: fastify/src/adapters.ts:28

new FastifyGuardResponse(statusCode, content): FastifyGuardResponse

Defined in: fastify/src/adapters.ts:32

number

string

FastifyGuardResponse

readonly statusCode: number

Defined in: fastify/src/adapters.ts:32

GuardResponse.statusCode

get body(): Uint8Array<ArrayBufferLike> | null

Defined in: fastify/src/adapters.ts:39

Uint8Array<ArrayBufferLike> | null

GuardResponse.body


get bodyText(): string | null

Defined in: fastify/src/adapters.ts:40

string | null

GuardResponse.bodyText


get headers(): Record<string, string>

Defined in: fastify/src/adapters.ts:37

Record<string, string>

GuardResponse.headers

setHeader(name, value): void

Defined in: fastify/src/adapters.ts:38

string

string

void

GuardResponse.setHeader