fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Server / HttpResponse

Interface: HttpResponse

Methods

send()

send(data?): void

Parameters

data?: string

Returns

void

Defined in

server/web/HttpResponse.ts:4


write()

write(data): void

Parameters

data: string

Returns

void

Defined in

server/web/HttpResponse.ts:3


writeHead()

writeHead(code, headers?): void

Parameters

code: number

headers?: Record<string, string | string[]>

Returns

void

Defined in

server/web/HttpResponse.ts:2