Middleware and responders are called with a request object. This is not an
IncomingMessage,
but an object created by Helo. Each stack has its own subclass.
Use isRequest() to see if a particular object is a
request originating from Helo.
Properties
incomingMessage: the incoming message, from Node itself.
Requests
Middleware and responders are called with a request object. This is not an
IncomingMessage, but an object created by Helo. Each stack has its own subclass.Use
isRequest()to see if a particular object is a request originating from Helo.Properties
incomingMessage: the incoming message, from Node itself.method: the request method, e.g.GET.headers: the request headers.host: specifically thehostheader.path: the path section of the request target.pathname: the section of the path before the query.querystring: the query section of the path, as a string.stream: except forGET,DELETEandHEADrequests, the incoming message, otherwisenull.query: an object, representing the result of parsing thequerystring. Only contains string values. If parameters are repeated the last value is used.