apollo-link-batch-http

  • Version 1.2.14
  • Published
  • 70.3 kB
  • 4 dependencies
  • MIT license

Install

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

Overview

Batch HTTP transport layer for GraphQL

Index

Classes

class BatchHttpLink extends ApolloLink {}

    constructor

    constructor(fetchParams?: BatchHttpLink.Options);

      method request

      request: (operation: Operation) => Observable<FetchResult> | null;

        Namespaces

        namespace BatchHttpLink {}

          interface Options

          interface Options extends HttpOptions {}

            property batchInterval

            batchInterval?: number;

              property batchKey

              batchKey?: (operation: Operation) => string;

                property batchMax

                batchMax?: number;

                  Package Files (2)

                  Dependencies (4)

                  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-batch-http.

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