1.1.2 • Published 7 years ago
@blueeast/bluerain-plugin-apollo-link-ws v1.1.2
bluerain-plugin-apollo-link-ws
This plugin uses apolllolink-ws to use GraphQL Subscriptions, but it will also allow you to send GraphQL queries and mutations over WebSockets as well.https://blueeast.gitbook.io/bluerain-plugin-apollo-link-ws
| 🌏 Web | 🖥 Electron | 📱 React Native |
|---|---|---|
| ✔️ | ✔️ | TBD |
Installation
Run the following command in the plugin directory:
yarn add @blueeast/bluerain-plugin-apollo-link-wsScreenshots.
NA
Hooks
plugin.apollo.links
This hook is used to add multiple websocket links.
Parameters:
| Name | Type | Description |
|---|---|---|
| link | Array | It provides list of websocket link |
Returns:
| Name | Type | Description |
|---|---|---|
| link | object | This hook returns the array of linkss |