Interface: HttpRequest
Defined in: service-core/src/http/types.ts:10
Framework-agnostic HTTP request interface. Mirrors the Express Request surface used throughout
this codebase so that route handlers, middleware, and utilities require no changes when the
underlying HTTP server changes.
Extended by
Indexable
[
key:string]:any
Allow arbitrary per-request properties (e.g. req.websocket, req.wsHandled).
Properties
authPayload?
optionalauthPayload?:any
Defined in: service-core/src/http/types.ts:31
Full decoded JWT payload, set by JWT auth middleware.
authToken?
optionalauthToken?:string
Defined in: service-core/src/http/types.ts:33
Raw JWT token string, set by JWT auth middleware.
body
body:
any
Defined in: service-core/src/http/types.ts:17
cookies
cookies:
Record<string,string>
Defined in: service-core/src/http/types.ts:19
headers
headers:
Record<string,string|string[] |undefined>
Defined in: service-core/src/http/types.ts:14
method
method:
string
Defined in: service-core/src/http/types.ts:11
params
params:
Record<string,string>
Defined in: service-core/src/http/types.ts:15
path
path:
string
Defined in: service-core/src/http/types.ts:12
query
query:
Record<string,string|string[]>
Defined in: service-core/src/http/types.ts:16
rawBody?
optionalrawBody?:Buffer<ArrayBufferLike>
Defined in: service-core/src/http/types.ts:18
session?
optionalsession?:Record<string,any>
Defined in: service-core/src/http/types.ts:25
Populated by the optional session middleware (see SessionManager). Undefined when no
session middleware is registered (i.e. the session config block is absent).
signedCookies
signedCookies:
Record<string,string>
Defined in: service-core/src/http/types.ts:20
socket
socket:
object
Defined in: service-core/src/http/types.ts:27
Minimal socket interface; populated with remote address for IP extraction.
remoteAddress?
optionalremoteAddress?:string
url
url:
string
Defined in: service-core/src/http/types.ts:13
user?
optionaluser?:any
Defined in: service-core/src/http/types.ts:29
Set by JWT auth middleware after successful token verification.