Minimal Express Request surface available to custom request handlers (a subset of Express's Request — re-declared here to keep this module self-contained). Only the commonly used members are typed; the real object is a full Express request.
Request
Parsed request body (requires a matching body parser).
Request headers (lower-cased names).
HTTP method, e.g. "GET", "POST".
Route/path parameters.
Parsed query-string parameters.
Request URL (path + query string).
Returns the value of the given (case-insensitive) header.
Minimal Express
Requestsurface available to custom request handlers (a subset of Express'sRequest— re-declared here to keep this module self-contained). Only the commonly used members are typed; the real object is a full Express request.