Engine.IO Client Library for .Net
Fork from https://github.com/joewen/EngineIoClientDotNet.
This is the Engine.IO Client Library for C#, which is ported from the JavaScript client.
Nuget install:
Install-Package EngineIoClientDotNet.Standard
EngineIoClientDotNet has a similar api to those of the JavaScript client.
You can use Socket
to connect:
var socket = new Socket("ws://localhost"); socket.On(Socket.EVENT_OPEN, () => { socket.Send("hi", () => { socket.Close(); }); }); socket.Open();
Receiving data
var socket = new Socket("ws://localhost"); socket.On(Socket.EVENT_OPEN, () => { socket.On(Socket.EVENT_MESSAGE, (data) => { Console.WriteLine((string)data); }); }); socket.Open();
This library supports all of the features the JS client does, including events, options and upgrading transport.
.Net Standard 2.0
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4