An HTTP response, received from the callback to performing a request, such as through: "LensStudio:Network".performHttpRequest, "LensStudio:Network".performAuthorizedHttpRequest, or "LensStudio:RemoteServiceModule".performApiRequest

interface HttpResponse {
    body: Buffer;
    contentType: string;
    error: string;
    headers: object;
    statusCode: number;
}

Properties

body: Buffer

The body of this response.

contentType: string

The content type of this response.

error: string

The error of this response, if applicable.

headers: object

The headers of this response.

statusCode: number

The HTTP status code of this response.