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

Parameter

Type

Description

app

Server

request

IncomingMessage

response

ServerResponse

Returns:

void