https://github.com/esskar/websocket.portable
C# Portable WebSocket Client Library (Rfc 6455)
https://github.com/esskar/websocket.portable
Last synced: 12 months ago
JSON representation
C# Portable WebSocket Client Library (Rfc 6455)
- Host: GitHub
- URL: https://github.com/esskar/websocket.portable
- Owner: esskar
- License: apache-2.0
- Created: 2014-06-02T07:59:09.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-09-03T18:43:34.000Z (almost 11 years ago)
- Last Synced: 2025-04-06T04:32:19.207Z (over 1 year ago)
- Language: C#
- Homepage:
- Size: 9.35 MB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## WebSocket.Portable
WebSocket.Portable is a portable C# implementation of
the [WebSocket][1] 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][2] room on [JabbR][3].
[1]: http://www.rfc-editor.org/rfc/rfc6455.txt
[2]: https://jabbr.net/#/rooms/WebSocketPortable
[3]: https://jabbr.net/