Skip to content

esskar/WebSocket.Portable

Repository files navigation

WebSocket.Portable

WebSocket.Portable is a portable C# implementation of the WebSocket protocol.

Status

The WebSocket.Portable library is still in pre-alpha state, still lots of features are missing, still lots of tests to write, interfaces will probably change.

Installation

WebSocket.Portable will be available via NuGet.

Usage

var client = new WebSocketClient();

// get notified when data has arrived
client.FrameReceived += frame => Console.WriteLine(frame);

// open a web socket connection to ws://echo.websocket.org
await client.OpenAsync("ws://echo.websocket.org");

// send some data
await client.SendAsync("WebSocket.Portable rocks!");

Questions

Ask questions in the WebSocket.Portable room on JabbR.

About

C# Portable WebSocket Client Library (Rfc 6455)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages