@aws-sdk/fetch-http-handler

  • Version 3.178.0
  • Published
  • 78.8 kB
  • 5 dependencies
  • Apache-2.0 license

Install

npm i @aws-sdk/fetch-http-handler
yarn add @aws-sdk/fetch-http-handler
pnpm add @aws-sdk/fetch-http-handler

Overview

Provides a way to make requests

Index

Variables

variable streamCollector

const streamCollector: StreamCollector;

    Classes

    class FetchHttpHandler

    class FetchHttpHandler implements HttpHandler {}

      constructor

      constructor(options?: any);

        method destroy

        destroy: () => void;

          method handle

          handle: (
          request: HttpRequest,
          { abortSignal }?: HttpHandlerOptions
          ) => Promise<{ response: HttpResponse }>;

            Interfaces

            interface FetchHttpHandlerOptions

            interface FetchHttpHandlerOptions {}
            • Represents the http options that can be passed to a browser http client.

            property requestTimeout

            requestTimeout?: number;
            • The number of milliseconds a request can take before being automatically terminated.

            Package Files (3)

            Dependencies (5)

            Dev Dependencies (7)

            Peer Dependencies (0)

            No peer dependencies.

            Badge

            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@aws-sdk/fetch-http-handler.

            • Markdown
              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@aws-sdk/fetch-http-handler)
            • HTML
              <a href="https://www.jsdocs.io/package/@aws-sdk/fetch-http-handler"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>