Sha256: 3ef72bda86404981d8145dfdfa2924e367a2aaeb883e7f50abe34c665ae7e5c0

Contents?: true

Size: 920 Bytes

Versions: 35

Compression:

Stored size: 920 Bytes

Contents

import * as stream from 'stream';
interface XMLHttpRequest {}
/**
 * The low level HTTP response object, encapsulating all HTTP header and body data returned from the request.
 */
export class HttpResponse {
    /**
     * Disables buffering on the HTTP response and returns the stream for reading.
     */
    createUnbufferedStream(): stream.Readable|XMLHttpRequest
    /**
     * The response body payload.
     */
    body: string|Buffer|Uint8Array;
    /**
     * A map of response header keys and their respective values.
     */
    headers: {
        [key: string]: string;
    }
    /**
     * The HTTP status code of the response (e.g., 200, 404).
     */
    statusCode: number;
    /**
     * The HTTP status message of the response (e.g., 'Bad Request', 'Not Found')
     */
    statusMessage: string;
    /**
     * Whether this response is being streamed at a low-level.
     */
    streaming: boolean;
}

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
sumomo-0.10.8 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.10.4 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.10.3 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.10.2 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.10.1 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.10.0 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.9.0 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.22 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.21 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.20 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.17 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.16 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.15 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.14 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.13 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.12 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.11 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.10 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.9 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts
sumomo-0.8.8 data/sumomo/api_modules/node_modules/aws-sdk/lib/http_response.d.ts