SocketIoClientDotNet
Socket.IO Client Library for .Net
Install / Use
/learn @Quobject/SocketIoClientDotNetREADME
THIS PROJECT IS DEPRECATED
Component is not maintained anymore. See https://github.com/Quobject/EngineIoClientDotNet/issues/69 for more information.
SocketIoClientDotNet
====================
Socket.IO Client Library for .Net
This is the Socket.IO Client Library for C#, which is ported from the JavaScript client version 1.1.0.
See also: EngineIoClientDotNet
Installation
Install-Package SocketIoClientDotNet
Usage
SocketIoClientDotNet has a similar api to those of the JavaScript client.
using Quobject.SocketIoClientDotNet.Client;
var socket = IO.Socket("http://localhost");
socket.On(Socket.EVENT_CONNECT, () =>
{
socket.Emit("hi");
});
socket.On("hi", (data) =>
{
Console.WriteLine(data);
socket.Disconnect();
});
Console.ReadLine();
More examples can be found in unit tests acting against the test server.
Features
This library supports all of the features the JS client does, including events, options and upgrading transport.
Framework Versions
.NETFramework v3.5, .NETFramework v4.0, .NETFramework v4.5
License
Related Skills
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.6kCommit, push, and open a PR
