Skip to main content

httpd/lib

Api Code Documentation / Exports / httpd/lib

Table of contents#

Interfaces#

Type aliases#

Functions#

Type aliases#

HttpResponse#

Ƭ HttpResponse: [HttpStatusCode, SuccessResponse | ErrorResponse]

Defined in#

src/httpd/lib.ts:25


HttpStatusCode#

Ƭ HttpStatusCode: number

Defined in#

src/httpd/lib.ts:24

Functions#

throwParseError#

â–¸ throwParseError(badKeys, message?): never

Parameters#

NameType
badKeysany
message?any

Returns#

never

Defined in#

src/httpd/lib.ts:27


throwParseErrorIfUndefined#

â–¸ throwParseErrorIfUndefined(obj, path): void

Parameters#

NameType
objany
pathany

Returns#

void

Defined in#

src/httpd/lib.ts:31