Function: incomingMessageToRequest()
incomingMessageToRequest(
req,res,opts):Request
Defined in: packages/server/src/adapters/node-http/incomingMessageToRequest.ts:121
Convert an IncomingMessage to a Request
Parameters
| Parameter | Type | Description |
|---|---|---|
req | NodeHTTPRequest | - |
res | NodeHTTPResponse | - |
opts | { maxBodySize: null | number; } | - |
opts.maxBodySize | null | number | Max body size in bytes. If the body is larger than this, the request will be aborted |
Returns
Request