Rebex WebSocket (beta)

Multiplatform WebSocket library for .NET 2.0-4.7, .NET CF 3.5-3.9, Xamarin.iOS and Xamarin.Android

WebSockets are becoming increasingly popular, but support in .NET is far from perfect. Versions of .NET prior to 4.5 don't support WebSockets at all, and even .NET 4.5 only supports WebSockets on Windows 8 or higher.

Rebex WebSocket implements the WebSocket protocol on top of Rebex networking library. The result is a multi-platform library that works on both current and legacy platforms. WebSockets over a secure TLS/SSL channel are supported as well - including TLS 1.2, 1.1, 1.0, SNI and SHA-2.

Download Rebex WebSocket client beta (trial) »

Supported platforms


Rebex WebSocket API resembles the one provided by .NET 4.5 with minor differences (such as WebSocketClient instead of ClientWebSocket) and some syntactic sugar (such as string-based Send and Receive methods):

C# sample code

using Rebex.Net;

// create an instance of WebSocket client
var client = new WebSocketClient();

// connect to a server

// send a message

// receive response
string response = client.Receive();

// display it


2018-09-26 - New WebSocket layer that passes Autobahn test suite. Lot of enhancements. Renamed assembly to Rebex.WebSocket.
2018-02-27 - Released an updated beta based on the latest version of Rebex HTTP and TLS core.
2016-09-15 - First beta of Rebex WebSocket released on Rebex Labs.

Send us feedback

Do you have any comments, questions or suggestions? Either post at our support forum or contact us directly at