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
Namespaces
Classes
class WebSocketLink
class WebSocketLink extends ApolloLink {}
constructor
constructor(paramsOrClient: any);
method request
request: (operation: Operation) => Observable<FetchResult> | null;
Namespaces
namespace WebSocketLink
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 oneto 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>
- Updated .
Package analyzed in 1233 ms. - Missing or incorrect documentation? Open an issue for this package.