{"library":"apollo-link-ws","type":"library","category":null,"description":"Apollo Link WebSocket is a link for Apollo Client enabling GraphQL operations over WebSocket, specifically designed for subscriptions. The latest stable version is 1.0.20, released in March 2019. It is part of the Apollo Link ecosystem and relies on subscriptions-transport-ws (^0.9.0) as a peer dependency. Its key differentiator is seamless integration with Apollo Client for real-time GraphQL subscriptions, but it also supports queries and mutations over WebSocket. Note that development has shifted to the @apollo/client package since Apollo Client 3.0, rendering this package deprecated in favor of the built-in WebSocket support in @apollo/client.","language":"javascript","status":"deprecated","version":"1.0.20","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install apollo-link-ws","imports":["import { WebSocketLink } from 'apollo-link-ws'","const { WebSocketLink } = require('apollo-link-ws')","new WebSocketLink(client)"]},{"cmd":"yarn add apollo-link-ws","imports":[]},{"cmd":"pnpm add apollo-link-ws","imports":[]}],"homepage":"https://github.com/apollographql/apollo-link#readme","github":"https://github.com/apollographql/apollo-link","docs":null,"changelog":null,"pypi":null,"npm":"apollo-link-ws","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}