Skip to main content

NetworkRequestProps

@h4ad/serverless-adapter > NetworkRequestProps

(interface) NetworkRequestProps​

The properties used to create an HTTP request for the framework.

Signature:

export interface NetworkRequestProps 

(property) body​

The body from the event source.

Signature:

body?: Buffer | Uint8Array;

(property) headers​

The headers from the event source.

Signature:

headers: SingleValueHeaders;

(property) method​

The HTTP Method of the request.

Signature:

method: string;

(property) remoteAddress​

The IP address from the caller.

Signature:

remoteAddress?: string;

(property) url​

The URL requested by the event source.

Signature:

url: string;