GraphQL WS

Zero-dependency, lazy, simple, spec compliant server and client

Spec Compliant

As a reference implementation, the library is fully compliant with the GraphQL over WebSocket spec


Adaptable to enterprise requirements


Strong authentication rules through an easy API

Pings and pongs

Measure latency and keep connection liveliness

Server and Client

Single library, but both the server and the client is included


Library contains everything it needs

Still small bundle

Thanks to tree-shaking and module separation

Smart retry strategies

Customize the reconnection process to your desires

Choose your server

Multiple WebSocket server implementations available