Skip to main content

HapiFramework

@h4ad/serverless-adapter > HapiFramework

(class) HapiFramework

The framework that forwards requests to hapi handler

Signature:

export declare class HapiFramework implements FrameworkContract<Server> 

Implements: FrameworkContract <Server>

(method) sendRequest

Signature:

sendRequest(app: Server, request: IncomingMessage, response: ServerResponse): void;

Parameters

ParameterTypeDescription
appServer
requestIncomingMessage
responseServerResponse

Returns:

void