Skip to content

ToWebRequestOptions

Defined in: src/adapters/node.ts:33

Options for toWebRequest.

Property Type Description Defined in
lazyBody? boolean Stream the request body to the handler only when it reads it, instead of buffering it first. Lets later middleware see an untouched stream when the handler ignores the body. Default false. src/adapters/node.ts:39
origin? string Override the origin (https://example.com); default: protocol + Host header. src/adapters/node.ts:41