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.
2 parents 0b49bfc + 35d6d11 commit b366e22Copy full SHA for b366e22
src/GraphQL.Client/Websocket/GraphQLHttpWebSocket.cs
@@ -491,7 +491,7 @@ private async Task ConnectAsync(CancellationToken token)
491
.Where(response => response != null )
492
.TakeUntil(response => response.Type == GraphQLWebSocketMessageType.GQL_CONNECTION_ACK ||
493
response.Type == GraphQLWebSocketMessageType.GQL_CONNECTION_ERROR)
494
- .FirstAsync()
+ .LastAsync()
495
.ToTask();
496
497
// send connection init
0 commit comments