Skip to main content

ServerlessRequestProps

@h4ad/serverless-adapter > ServerlessRequestProps

(interface) ServerlessRequestProps

The properties to create a ServerlessRequest

Signature:

export interface ServerlessRequestProps 

(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 caller

Signature:

remoteAddress?: string;

(property) url

The URL requested

Signature:

url: string;