Interface ResponseInfo

interface ResponseInfo {
    getBody(): string;
    getHeaders(): ResponseHeaders;
    getStatus(): number;
}

Methods

  • The body of the response

    Returns string

  • HTTP Status code

    Returns number