Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IncomingHttpRequest

Information about incoming http requests

Hierarchy

  • IncomingHttpRequest

Index

Properties

clientIp?: string

The IP address of the original client behind all proxies, if known (e.g. from X-Forwarded-For).

headers?: {}

Values of some http headers.

Type declaration

  • [key: string]: string

    Value of the HTTP User-Agent header sent by the client.

method: string

HTTP request method in upper case. For example GET, POST, DELETE

routeTemplate?: string

The matched route (path template). For example /users/:userID

url: string

Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment]. Usually the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless.

MUST NOT contain credentials passed via URL in form of https://username:password@www.example.com/. In such case the attribute's value should be https://www.example.com/.

Generated using TypeDoc