HttpRequest
Defined in: packages/core/src/types.ts:137
A prepared HTTP request ready to be executed by the caller’s HTTP layer.
Core functions return this instead of calling fetch directly, preserving the
“functional core, imperative shell” architecture.
Properties
Section titled “Properties”
optionalbody?:string
Defined in: packages/core/src/types.ts:145
Request body, typically application/x-www-form-urlencoded for token requests.
headers
Section titled “headers”headers:
Record<string,string>
Defined in: packages/core/src/types.ts:143
HTTP headers to include with the request.
method
Section titled “method”method:
string
Defined in: packages/core/src/types.ts:141
HTTP method (e.g., "POST", "GET").
url:
string
Defined in: packages/core/src/types.ts:139
Fully qualified request URL.