@aws-sdk/protocol-http

  • Version 3.162.0
  • Published
  • 58.6 kB
  • 2 dependencies
  • Apache-2.0 license

Install

npm i @aws-sdk/protocol-http
yarn add @aws-sdk/protocol-http
pnpm add @aws-sdk/protocol-http

Overview

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/protocol-http/latest.svg)](https://www.npmjs.com/package/@aws-sdk/protocol-http) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/protocol-http.svg)](https://www.npmjs.com/package/@aws-sdk/prot

Index

Functions

function isValidHostname

isValidHostname: (hostname: string) => boolean;

    Classes

    class HttpRequest

    class HttpRequest implements HttpMessage, Endpoint {}

      constructor

      constructor(options: any);

        property body

        body?: any;

          property headers

          headers: HeaderBag;

            property hostname

            hostname: string;

              property method

              method: string;

                property path

                path: string;

                  property port

                  port?: number;

                    property protocol

                    protocol: string;

                      property query

                      query: QueryParameterBag;

                        method clone

                        clone: () => HttpRequest;

                          method isInstance

                          static isInstance: (request: unknown) => request is HttpRequest;

                            class HttpResponse

                            class HttpResponse {}

                              constructor

                              constructor(options: any);

                                property body

                                body?: any;

                                  property headers

                                  headers: HeaderBag;

                                    property statusCode

                                    statusCode: number;

                                      method isInstance

                                      static isInstance: (response: unknown) => response is HttpResponse;

                                        Interfaces

                                        interface HttpRequest

                                        interface HttpRequest extends IHttpRequest {}

                                          interface HttpResponse

                                          interface HttpResponse extends IHttpResponse {}

                                            Type Aliases

                                            type HttpHandler

                                            type HttpHandler = RequestHandler<HttpRequest, HttpResponse, HttpHandlerOptions>;

                                              Package Files (5)

                                              Dependencies (2)

                                              Dev Dependencies (6)

                                              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/protocol-http.

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