@dvelop-sdk
    Preparing search index...

    Interface IncomingHttpRequest

    Information about incoming http requests

    interface IncomingHttpRequest {
        clientIp?: string;
        headers?: { [key: string]: string };
        method: string;
        routeTemplate?: string;
        url: string;
    }
    Index

    Properties

    clientIp?: string

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

    headers?: { [key: string]: string }

    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/.