Apollo Link WebSocket

JSON →
library 1.0.20 ·javascript deprecated
verified Jun 7, 2026

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.