SocketRocket
SocketRocket copied to clipboard
Cannot connect with subprotocol `graphql-transport-ws`
Hi, my app is a react native application and it is connecting to an Apollo Server which use graphql-ws for its websocket implementation and its subprotocol is graphql-transport-ws, it has been working well for years.
However, a recent upgrade to react-native 0.72, there is a change to its iOS websocket client implementation https://github.com/facebook/react-native/pull/36471
Since then, the websocket is not connecting and result in NSError * domain: "SRWebSocketErrorDomain" - code: 2132 when the server error code is 403
May I know if SocketRocket is supporting this subprotocol? Or what could I do to support it?