ParsedGenericRequest
Defined in: types.ts:171
Parsed HTTP request (after body parsing)
Extends
Section titled “Extends”Properties
Section titled “Properties”body:
any
Defined in: types.ts:175
Parsed request body (guaranteed to be parsed)
Overrides
Section titled “Overrides”headers
Section titled “headers”headers:
Record<string,string>
Defined in: types.ts:115
Request headers (normalized to lowercase keys)
Inherited from
Section titled “Inherited from”
optionalip:string
Defined in: types.ts:135
Client IP address
Inherited from
Section titled “Inherited from”method
Section titled “method”method:
string
Defined in: types.ts:105
HTTP method (GET, POST, etc.)
Inherited from
Section titled “Inherited from”params?
Section titled “params?”
optionalparams:Record<string,string>
Defined in: types.ts:125
URL parameters (e.g., /users/:id -> { id: ‘123’ })
Inherited from
Section titled “Inherited from”query?
Section titled “query?”
optionalquery:Record<string,string>
Defined in: types.ts:130
Query string parameters
Inherited from
Section titled “Inherited from”stream?
Section titled “stream?”
optionalstream:boolean
Defined in: types.ts:180
Whether streaming is requested
url:
string
Defined in: types.ts:110
Full request URL