プロジェクト
概要
.NET向けSocket.IOクライアントライブラリ
開発ツール計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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
関連プロジェクトを探す
読み込み中…