Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Oct 27, 2024
1 parent 1ab10e9 commit d5ec0df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,9 +838,9 @@ disconnect the client. When the server forcibly disconnects the client, no grac
of the WebSocket protocol occurs, and any queued messages are discarded.

When using the `TimeoutWithPayload` keep-alive mode, you may wish to enforce that the
`graphql-transport-ws` sub-protocol is in use by the client. This can be done by setting
the `SupportedWebSocketSubProtocols` property to only include the `graphql-transport-ws`
sub-protocol.
`graphql-transport-ws` sub-protocol is in use by the client, as the `graphql-ws` sub-protocol
does not support bidirectional keep-alive packets. This can be done by setting the
`SupportedWebSocketSubProtocols` property to only include the `graphql-transport-ws` sub-protocol.

```csharp
app.UseGraphQL("/graphql", options =>
Expand Down

0 comments on commit d5ec0df

Please sign in to comment.