프로젝트
GitHub에서 보기
Quobject/SocketIoClientDotNet
소개
.NET용 Socket.IO 클라이언트 라이브러리
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTHIS 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
관련 프로젝트 살펴보기
불러오는 중…