How do I make ClientWebSocket.ReceiveAsync timeout in 5 seconds only if the web socket client is not connected? The current behavior is that it timeou ...
How do I make ClientWebSocket.ReceiveAsync timeout in 5 seconds only if the web socket client is not connected? The current behavior is that it timeou ...
I have used ClientWebSocket class for webSocket communication. What is the best way of mocking the class? ...
I 'd like to make a websocket client to connect to a third-party web socket server. I am using ClientWebSocket Class: For receiving messages i use ...
I am using Websocket.Client which is a wrapper around ClientWebSocket, within its internals I can see WebSocketReceiveResult and it is using it to det ...
The example shown on the following page doesn't work: Using c# ClientWebSocket with streams It hangs on the following line: await ws.ConnectAsync ...
I get similar problem as this question websockets "scheme https is invalid", but i'm actually trying to use https The problem is that I received an in ...
In my .NET Core console app I use collection of ClientWebSocket objects to receive some data. When something goes wrong and an exception occurs I'd li ...
I have build a WebSocket web application in .net core by following this and this or this tutorials. Now I am trying to write some integration tests on ...
In my application I use SignalR for messaging through my clients. The application however has a websocket connection to another server for notificatio ...
I'm writing a C# application that connects to a websocket server, and receives a JSON response of unknown size. I'm using the ClientWebSocket class fo ...
I'm using ClientWebSocket to subscribe to a REST service but want to be able to use websocket-sharp instead. Here is my websocket-sharp attempt. Wh ...
I need to scrape data from a websocket "just one time". I mean that I don't need to get continuosly data from the source but I need to get the data o ...
I need to collect data from a WebSocket. If I try to test the websocket with this site: http://www.websocket.org/echo.html I can connect and send mes ...
The document is unclear about the thread safety of the System.Net.WebSockets.ClientWebSocket class. Is it safe to call the SendAsync method from mult ...
I need to set the "User-Agent" HTTP header in a ClientWebSocket object, but it is not possible. Although there is a ClientWebSocket.SetRequestHeader(h ...