Skip to content

Is each websocket connection only expected to have one connection at a time #158

Answered by enisdenjo
edwardfeng-db asked this question in Q&A
Discussion options

You must be logged in to vote

The WS connection and graphql-ws connection are synonymous, the only difference is that a graphql-ws connection is an acknowledged connection (through the conneciton_ack message) within a WS socket. Check the Nomenclature section in the Protocol.

You cannot have 2 connections within a single socket the same way you cannot have 2 sockets within one socket.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@edwardfeng-db
Comment options

Answer selected by edwardfeng-db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants