apollo-link-http

  • Version 1.5.17
  • Published
  • 87.1 kB
  • 3 dependencies
  • MIT license

Install

npm i apollo-link-http
yarn add apollo-link-http
pnpm add apollo-link-http

Overview

HTTP transport layer for GraphQL

Index

Functions

createHttpLink: (linkOptions?: FetchOptions) => any;

    Classes

    class HttpLink extends ApolloLink {}

      constructor

      constructor(opts?: FetchOptions);

        property requester

        requester: any;

          Namespaces

          namespace HttpLink {}

            interface Options

            interface Options extends HttpOptions {}

              property useGETForQueries

              useGETForQueries?: boolean;

                interface UriFunction

                interface UriFunction extends _UriFunction {}

                  Package Files (2)

                  Dependencies (3)

                  Dev Dependencies (13)

                  Peer Dependencies (1)

                  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/apollo-link-http.

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