@dvelop-sdk
    Preparing search index...

    Interface HttpResponse

    Information about http responses

    interface HttpResponse {
        clientDuration?: number;
        method: string;
        routeTemplate?: string;
        serverDuration?: number;
        statusCode: number;
        url: string;
    }
    Index

    Properties

    clientDuration?: number

    Measures the duration of an outgoing HTTP request in milliseconds.

    method: string

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

    routeTemplate?: string

    The matched route (path template). For example /users/:userID. Only relevant for responses of incoming http requests

    serverDuration?: number

    Measures the duration of an incoming HTTP request in milliseconds.

    statusCode: number

    HTTP response status code

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