websocket-client icon indicating copy to clipboard operation
websocket-client copied to clipboard

comparison to System.Net.WebSockets.Client

Open SalimiHabib opened this issue 4 years ago • 2 comments

hi

is there any advantage to use this library over System.Net.WebSockets.Client ?

thank you

SalimiHabib avatar Jun 28 '21 11:06 SalimiHabib

Hi @SalimiHabib do you mean ClientWebSocket? Or is there any new client?

This library is a wrapper over ClientWebSocket to provide simpler usage with reconnection and error handling. Also you don't have to work directly with Streams, byte arrays, etc.

Marfusios avatar Jun 28 '21 11:06 Marfusios

I point to its Assembly ,but ClientWebSocket class is correct guess ,

SalimiHabib avatar Jun 28 '21 22:06 SalimiHabib