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 94a1e32 commit b5b0365Copy full SHA for b5b0365
tests/GraphQL.Integration.Tests/WebsocketTests/Base.cs
@@ -70,6 +70,16 @@ public async void CanSendRequestViaWebsocket()
70
response.Data.AddMessage.Content.Should().Be(message);
71
}
72
73
+ [Fact]
74
+ public async void CanUseWebSocketScheme()
75
+ {
76
+ ChatClient.Options.EndPoint = ChatClient.Options.EndPoint.GetWebSocketUri();
77
+ await ChatClient.InitializeWebsocketConnection();
78
+ const string message = "some random testing message";
79
+ var response = await ChatClient.AddMessageAsync(message);
80
+ response.Data.AddMessage.Content.Should().Be(message);
81
+ }
82
+
83
[Fact]
84
public async void WebsocketRequestCanBeCancelled()
85
{
0 commit comments