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 b5b0365 commit fa944ecCopy full SHA for fa944ec
src/GraphQL.Client/UriExtensions.cs
@@ -22,7 +22,7 @@ public static Uri GetWebSocketUri(this Uri uri)
22
return uri;
23
24
string webSocketScheme = uri.Scheme == "https" ? "wss" : "ws";
25
- return new Uri($"{webSocketScheme}://{uri.Host}:{uri.Port}{uri.AbsolutePath}");
+ return new Uri($"{webSocketScheme}://{uri.Host}:{uri.Port}{uri.PathAndQuery}");
26
}
27
28
0 commit comments