ReadonlyclientParsed client IP address.
ReadonlyconnectionParsed connection details.
ReadonlyfinishTimestamp when processing finished.
ReadonlyisWhether the client is identified as a bot.
ReadonlyisWhether processing has completed.
ReadonlymethodRequest method wrapper.
ReadonlyrequestRequest body wrapper.
ReadonlyrequestRequest headers wrapper.
ReadonlyrequestReadable stream for the request body.
ReadonlyresponseResponse body wrapper.
ReadonlyresponseResponse headers wrapper.
ReadonlyresponseWritable stream for the response body.
ReadonlystartTimestamp when processing started.
ReadonlystateAssociated shared state.
ReadonlystatusResponse status wrapper.
ReadonlytotalTotal processing time.
ReadonlytraceNames of middleware that have already been processed.
ReadonlytypeAssociated context type.
ReadonlyurlRequest URL wrapper.
ReadonlyuserParsed User-Agent data.
Closes the client connection.
Dumps a serializable representation of a context for logging.
A plain object with context details.
Checks HTTP method and URL pathname.
The single method string or an array of methods to check.
The string path, RegExp pattern to match or array of both.
true if the current method and pathname matches, false otherwise.
Sends the response headers to the client.
Sends the complete response to the client.
Represents the http-server context of a normal HTTP request or WebSocket connection.
Contains all request/response data, utility methods, and lifecycle state. This is the primary object passed to middleware functions.