Skip to main content

DefaultNetworkOptions

@h4ad/serverless-adapter > DefaultNetworkOptions

(interface) DefaultNetworkOptions

Options for DefaultNetwork .

Signature:

export interface DefaultNetworkOptions 

(property) setRequestIp

Whether created requests should define request.ip from the event source remote address.

Disable this for frameworks that expose ip through their own request prototype.

Signature:

setRequestIp?: boolean;