apollo-link-ws

  • Version 1.0.20
  • Published
  • 17.7 kB
  • 2 dependencies
  • MIT license

Install

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

Overview

WebSocket transport layer for GraphQL

Index

Classes

class WebSocketLink extends ApolloLink {}

    constructor

    constructor(paramsOrClient: any);

      method request

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

        Namespaces

        namespace WebSocketLink {}

          interface Configuration

          interface Configuration {}

            property options

            options?: ClientOptions;

              property uri

              uri: string;

                property webSocketImpl

                webSocketImpl?: any;

                  Package Files (2)

                  Dependencies (2)

                  Dev Dependencies (11)

                  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-ws.

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