You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifying a close status will always close the underlying socket.
92
92
93
-
You can also use it on the server. This example is basically taken from
94
-
the documentation on [WebSockets in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/websockets?view=aspnetcore-5.0#configure-the-middleware)
95
-
and adapted to use a `WebSocketPipe` to read/write to the client:
93
+
The `WebSocketPipe`can also be used on the server. The following example is basically
94
+
taken from the documentation on [WebSockets in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/websockets?view=aspnetcore-5.0#configure-the-middleware)
95
+
and adapted to use a `WebSocketPipe` to echo messages to the client:
0 commit comments