1.1.2 • Published 6 years ago

@blueeast/bluerain-plugin-apollo-link-ws v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

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

Screenshots.

NA

Hooks

plugin.apollo.links

This hook is used to add multiple websocket links.

Parameters:

NameTypeDescription
linkArrayIt provides list of websocket link

Returns:

NameTypeDescription
linkobjectThis hook returns the array of linkss

API

bluerain-plugin-apollo-link-ws

Properties

  • pluginName string "ApolloLinkWS"
  • slug string "apollo-link-ws"