vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Interface HttpRequestInfo

    Represents the information required to make an HTTP request.

    interface HttpRequestInfo {
        body?: string;
        headers?: OutgoingHttpHeaders;
        method: HttpMethod;
        parts?: HttpRequestPart[];
        timeout?: number;
        url: string;
    }
    Index

    Properties

    body?: string

    Body of the request in case of a POST, PATCH or PUT request

    headers?: OutgoingHttpHeaders

    Extra headers to include in the request on top of the standard headers

    method: HttpMethod

    HTTP method to use for the request (GET, POST, PATCH, DELETE, PUT)

    parts?: HttpRequestPart[]

    Parts of the request in case of a multipart request

    timeout?: number

    Timeout in milliseconds for the request

    url: string

    URL to make the request to