Skip to main content

PolkaFramework

@h4ad/serverless-adapter > PolkaFramework

(class) PolkaFramework

The framework that forwards requests to polka handler

Signature:

export declare class PolkaFramework implements FrameworkContract<Polka> 

Implements: FrameworkContract <Polka>

(method) sendRequest

Signature:

sendRequest(app: Polka, request: IncomingMessage, response: ServerResponse<IncomingMessage>): void;

Parameters

ParameterTypeDescription
appPolka
requestIncomingMessage
responseServerResponse<IncomingMessage>

Returns:

void