We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62301b commit 15c5e36Copy full SHA for 15c5e36
src/GraphQL.Client/Websocket/GraphQLHttpWebSocket.cs
@@ -578,8 +578,9 @@ private async Task<WebsocketMessageWrapper> ReceiveWebsocketMessagesAsync()
578
Debug.WriteLine($"Connection closed by the server.");
579
throw new Exception("Connection closed by the server.");
580
581
- case WebSocketMessageType.Binary:
582
- throw new NotSupportedException("binary websocket messages are not supported");
+ default:
+ throw new NotSupportedException($"Websocket message type {webSocketReceiveResult.MessageType} not supported.");
583
+
584
}
585
586
catch (Exception e)
0 commit comments