Libertas OS API Documentation
    Preparing search index...

    Interface LibertasHttpResponse

    Represents a HTTP response.

    interface LibertasHttpResponse {
        body: string;
        headers: LibertasHttpHeader[];
        httpVersion: string;
        method: string;
        statusCode: number;
        statusMessage: string;
    }
    Index

    Properties

    body: string

    Binary string of body, or empty string.

    A list of response headers.

    httpVersion: string

    1.1, 1.0 etc.

    method: string

    GET, POST, PUT etc.

    statusCode: number

    An HTTP status code.

    statusMessage: string

    A text string.