Skip to main content

Function: vrameworkHandler()

function vrameworkHandler(options): (res, req) => Promise<void>

Creates a uWebSockets handler for handling requests using the @vramework/core framework.

Parameters

options: VrameworkuWSHandlerOptions

The options to configure the handler.

Returns

Function

  • The request handler function.

Parameters

res: HttpResponse

req: HttpRequest

Returns

Promise<void>

Defined in

packages/servers/uws/uws-handler/src/vramework-uws-handler.ts:37