@aws-sdk/middleware-host-header

  • Version 3.523.0
  • Published
  • 19 kB
  • 4 dependencies
  • Apache-2.0 license

Install

npm i @aws-sdk/middleware-host-header
yarn add @aws-sdk/middleware-host-header
pnpm add @aws-sdk/middleware-host-header

Overview

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

Index

Variables

variable hostHeaderMiddlewareOptions

const hostHeaderMiddlewareOptions: any;

    Functions

    function getHostHeaderPlugin

    getHostHeaderPlugin: (options: HostHeaderResolvedConfig) => Pluggable<any, any>;

      function hostHeaderMiddleware

      hostHeaderMiddleware: <Input extends object, Output extends object>(
      options: HostHeaderResolvedConfig
      ) => BuildMiddleware<Input, Output>;

        function resolveHostHeaderConfig

        resolveHostHeaderConfig: <T>(
        input: T & PreviouslyResolved & HostHeaderInputConfig
        ) => T & HostHeaderResolvedConfig;

          Interfaces

          interface HostHeaderInputConfig

          interface HostHeaderInputConfig {}
          • Modifiers

            • @public

          interface HostHeaderResolvedConfig

          interface HostHeaderResolvedConfig {}

            property requestHandler

            requestHandler: RequestHandler<any, any>;
            • The HTTP handler to use. Fetch in browser and Https in Nodejs.

            Package Files (1)

            Dependencies (4)

            Dev Dependencies (5)

            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/middleware-host-header.

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