WebSocket4Net 1.0.0-beta.4
See the version list below for details.
dotnet add package WebSocket4Net --version 1.0.0-beta.4
NuGet\Install-Package WebSocket4Net -Version 1.0.0-beta.4
<PackageReference Include="WebSocket4Net" Version="1.0.0-beta.4" />
<PackageVersion Include="WebSocket4Net" Version="1.0.0-beta.4" />
<PackageReference Include="WebSocket4Net" />
paket add WebSocket4Net --version 1.0.0-beta.4
#r "nuget: WebSocket4Net, 1.0.0-beta.4"
#addin nuget:?package=WebSocket4Net&version=1.0.0-beta.4&prerelease
#tool nuget:?package=WebSocket4Net&version=1.0.0-beta.4&prerelease
WebSocket4Net
A popular .NET WebSocket Client
This new version is built on SuperSocket 2.0 and modern .NET (.NET Core). It includes breaking changes from the previous WebSocket4Net version, so code adjustments may be necessary for upgrading.
Usage 1: Read messages from event handler.
using WebSocket4Net;
var websocket = new WebSocket("https://localhost/live");
websocket.PackageHandler += (sender, package) =>
{
Console.WriteLine(package.Message);
}
await websocket.OpenAsync();
websocket.StartReceive();
await websocket.SendAsync("Hello");
//...
await websocket.CloseAsync();
Usage 1: Read messages on demand.
using WebSocket4Net;
var websocket = new WebSocket("https://localhost/live");
await websocket.OpenAsync();
await websocket.SendAsync("Hello");
while (true)
{
var package = await websocket.ReceiveAsync();
if (package == null)
break;
Console.WriteLine(package.Message);
}
//...
await websocket.CloseAsync();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-android33.0 is compatible. net7.0-ios was computed. net7.0-ios16.1 is compatible. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-macos13.0 is compatible. net7.0-tvos was computed. net7.0-tvos16.1 is compatible. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-android34.0 is compatible. net8.0-browser was computed. net8.0-ios was computed. net8.0-ios17.5 is compatible. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-macos14.5 is compatible. net8.0-tvos was computed. net8.0-tvos17.5 is compatible. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net5.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net6.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net7.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net7.0-android33.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net7.0-ios16.1
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net7.0-macos13.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net7.0-tvos16.1
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net8.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net8.0-android34.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net8.0-ios17.5
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net8.0-macos14.5
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
net8.0-tvos17.5
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
NuGet packages (141)
Showing the top 5 NuGet packages that depend on WebSocket4Net:
Package | Downloads |
---|---|
SocketIoClientDotNet
This is the Socket.IO Client Library for .NET. |
|
EngineIoClientDotNet
This is the Engine.IO Client Library for C#. |
|
PusherClient
The .NET library for interacting with the Pusher WebSocket API. Register at http://pusher.com |
|
OpenfinDesktop
OpenFin Desktop Runtime .NET Adapter |
|
Coinbase.Pro
A .NET implementation for the Coinbase Pro API for online trading. Supports REST API and Websocket Feed API. All crypto currencies including Bitcoin (BTC), Ethereum (ETH), Litecoin (LTC), 0x (ZRX), and many more! |
GitHub repositories (37)
Showing the top 20 popular GitHub repositories that depend on WebSocket4Net:
Repository | Stars |
---|---|
discord-net/Discord.Net
An unofficial .Net wrapper for the Discord API (https://discord.com/)
|
|
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
|
|
dotnetcore/AgileConfig
基于.NET Core开发的轻量级分布式配置中心 / .NET Core lightweight configuration server
|
|
saucepleez/taskt
taskt (pronounced 'tasked' and formely sharpRPA) is free and open-source robotic process automation (rpa) built in C# powered by the .NET Framework
|
|
Quobject/SocketIoClientDotNet
Socket.IO Client Library for .Net
|
|
SmallRob/PLC-CommunTools
针对工业上位机的通讯测试工具类及实例。包含各类厂商的PLC协议及基础的TCP、串口通讯、IO口通讯等协议通讯功能的实现整合,努力完善中。
|
|
brianzhouzc/RocketBot
An automated Pokémon Go Bot
|
|
5andr0/PogoLocationFeeder
Json feed of pokemon location data
|
|
ttu/dotnet-fake-json-server
Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.
|
|
Code-Sharp/WampSharp
A C# implementation of WAMP (The Web Application Messaging Protocol)
|
|
Necrobot-Private/NecroBot
NecroBot2
|
|
mregni/EmbyStat
Multiplatform statistics server for Emby server
|
|
finos/plexus-interop
Plexus Interop open source project hosted by the Fintech Open Source Foundation
|
|
mmbot/mmbot
A C# port of Hubot
|
|
soxtoby/SlackNet
A comprehensive Slack API client for .NET
|
|
Emotiv/cortex-example
Example with Cortex V2/V3 API
|
|
SaviorXTanren/mixer-mixitup
Streaming bot application for handling chat, events, moderation, and other streamer assistance features
|
|
sonvister/Binance
A .NET Standard Binance API library.
|
|
Sauceke/LoveMachine
Support for interactive sex toys in over 30 different Hentai games, including Koikatsu, Honey Select 2, COM3D2, Insult Order, and more.
|
|
riskydissonance/SharpCookieMonster
Extracts cookies from Chrome.
|
Version | Downloads | Last Updated |
---|---|---|
1.0.0-beta.5 | 981 | 11/10/2024 |
1.0.0-beta.4 | 468 | 8/31/2024 |
1.0.0-beta.3 | 414 | 6/29/2024 |
1.0.0-beta.2 | 180 | 6/1/2024 |
1.0.0-beta.1 | 188 | 5/25/2024 |
0.15.2 | 6,801,439 | 1/31/2018 |
0.15.1 | 4,010,187 | 11/26/2017 |
0.15.0 | 395,296 | 9/5/2017 |
0.15.0-beta9 | 141,565 | 6/8/2017 |
0.15.0-beta8 | 8,669 | 6/4/2017 |
0.15.0-beta7 | 10,412 | 5/5/2017 |
0.15.0-beta6 | 26,290 | 9/2/2016 |
0.15.0-beta5 | 58,553 | 8/24/2016 |
0.15.0-beta4 | 9,684 | 8/24/2016 |
0.15.0-beta3 | 2,539 | 8/24/2016 |
0.15.0-beta2 | 2,609 | 8/23/2016 |
0.15.0-beta1 | 2,410 | 8/22/2016 |
0.14.1 | 1,178,163 | 10/9/2015 |
0.14.0 | 16,400 | 9/22/2015 |
0.13.1 | 119,407 | 8/4/2015 |
0.13.0 | 3,882 | 8/3/2015 |
0.12.0 | 66,753 | 3/22/2015 |
0.11.0 | 32,236 | 12/22/2014 |
0.10.0 | 43,042 | 7/23/2014 |
0.9.0 | 447,249 | 4/22/2014 |
0.8.0 | 54,559 | 7/22/2012 |
0.7.0 | 30,213 | 6/15/2012 |
0.5.1 | 2,900 | 3/19/2012 |
0.4.0 | 4,068 | 2/22/2012 |