HttpRequest

A parseHttpRequest() result - the request line plus headers, both used verbatim by onHttpReadable()'s routing. headers stays a plain dictionary (its keys are whatever header names the client happened to send, not a fixed set).

Properties

  • command (string)
  • path (string)
  • protocol (string)
  • headers (object)