websocket4net - WebSocket4Net 1.0.0-beta.5.60
A popular .NET websocket client.
PM> Install-Package WebSocket4Net -Version 1.0.0-beta.5.60 -Source https://www.myget.org/F/websocket4net/api/v3/index.json
> nuget.exe install WebSocket4Net -Version 1.0.0-beta.5.60 -Source https://www.myget.org/F/websocket4net/api/v3/index.json
> dotnet add package WebSocket4Net --version 1.0.0-beta.5.60 --source https://www.myget.org/F/websocket4net/api/v3/index.json
source https://www.myget.org/F/websocket4net/api/v3/index.json
nuget WebSocket4Net ~> 1.0.0-beta.5.60
Copy to clipboard
> choco install WebSocket4Net --version 1.0.0-beta.5.60 --source https://www.myget.org/F/websocket4net/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "websocket4net" -SourceLocation "https://www.myget.org/F/websocket4net/api/v2"
Install-Module -Name "WebSocket4Net" -RequiredVersion "1.0.0-beta.5.60" -Repository "websocket4net" -AllowPreRelease
Copy to clipboard
Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/websocket4net/api/v2/symbolpackage/
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();
-
.NETFramework 5.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 6.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 7.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 7.0 android33.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 7.0 ios16.1
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 7.0 macos13.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 7.0 tvos16.1
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 8.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 8.0 android34.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 8.0 ios18.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 8.0 macos15.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETFramework 8.0 tvos18.0
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
-
.NETStandard 2.1
- SuperSocket.Client (>= 2.0.0-beta.26)
- SuperSocket.WebSocket (>= 2.0.0-beta.26)
- .NETFramework 5.0: 5.0.0.0
- .NETFramework 6.0: 6.0.0.0
- .NETFramework 7.0: 7.0.0.0
- .NETFramework 7.0 android33.0: android33.0: 7.0.0.0
- .NETFramework 7.0 ios16.1: ios16.1: 7.0.0.0
- .NETFramework 7.0 macos13.0: macos13.0: 7.0.0.0
- .NETFramework 7.0 tvos16.1: tvos16.1: 7.0.0.0
- .NETFramework 8.0: 8.0.0.0
- .NETFramework 8.0 android34.0: android34.0: 8.0.0.0
- .NETFramework 8.0 ios18.0: ios18.0: 8.0.0.0
- .NETFramework 8.0 macos15.0: macos15.0: 8.0.0.0
- .NETFramework 8.0 tvos18.0: tvos18.0: 8.0.0.0
- .NETStandard 2.1: 2.1.0.0
OwnersKerry Jiang |
AuthorsKerry Jiang and other contributors |
Project URLhttps://github.com/kerryjiang/WebSocket4Net |
LicenseUnknown |
Info117 total downloads |
0 downloads for version 1.0.0-beta.5.60 |
Download (164.88 KB) |
Download symbols (120.5 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
1.0.0-beta.5.62 | 165.48 KB | Sat, 09 Nov 2024 17:54:30 GMT | 2 | ||||
1.0.0-beta.5.60 | 164.88 KB | Sat, 09 Nov 2024 17:33:16 GMT | 0 | ||||
1.0.0-beta.5.58 | 160.15 KB | Sun, 01 Sep 2024 21:42:50 GMT | 3 | ||||
1.0.0-beta.5.57 | 160.17 KB | Sat, 31 Aug 2024 02:15:55 GMT | 3 | ||||
1.0.0-beta.5 | 165.43 KB | Sat, 09 Nov 2024 18:04:54 GMT | 22 | ||||
1.0.0-beta.4.56 | 160.24 KB | Sat, 31 Aug 2024 01:48:25 GMT | 2 | ||||
1.0.0-beta.4.55 | 156.38 KB | Wed, 21 Aug 2024 04:34:35 GMT | 1 | ||||
1.0.0-beta.4.53 | 156.38 KB | Wed, 31 Jul 2024 03:00:48 GMT | 4 | ||||
1.0.0-beta.4 | 160.18 KB | Sat, 31 Aug 2024 02:13:40 GMT | 5 | ||||
1.0.0-beta.3.52 | 156.37 KB | Tue, 30 Jul 2024 04:27:35 GMT | 2 | ||||
1.0.0-beta.3.51 | 156.35 KB | Tue, 30 Jul 2024 04:16:41 GMT | 1 | ||||
1.0.0-beta.3.50 | 154.93 KB | Tue, 30 Jul 2024 04:10:23 GMT | 1 | ||||
1.0.0-beta.3.48 | 152.09 KB | Sat, 20 Jul 2024 18:31:21 GMT | 5 | ||||
1.0.0-beta.3.47 | 152.09 KB | Sat, 20 Jul 2024 18:28:53 GMT | 4 | ||||
1.0.0-beta.3.46 | 151.89 KB | Sat, 20 Jul 2024 18:18:23 GMT | 4 | ||||
1.0.0-beta.3.44 | 150.13 KB | Sat, 20 Jul 2024 17:19:53 GMT | 3 | ||||
1.0.0-beta.3.43 | 151.29 KB | Sat, 20 Jul 2024 16:59:52 GMT | 3 | ||||
1.0.0-beta.3.42 | 151.34 KB | Sat, 20 Jul 2024 16:10:09 GMT | 3 | ||||
1.0.0-beta.3.41 | 151.36 KB | Sat, 29 Jun 2024 01:01:30 GMT | 4 | ||||
1.0.0-beta.3.40 | 151.39 KB | Sat, 08 Jun 2024 16:02:50 GMT | 5 | ||||
1.0.0-beta.3.39 | 151.36 KB | Sat, 08 Jun 2024 15:56:18 GMT | 4 | ||||
1.0.0-beta.3.38 | 151.39 KB | Sat, 01 Jun 2024 23:38:56 GMT | 4 | ||||
1.0.0-beta.3 | 151.3 KB | Sat, 29 Jun 2024 01:35:25 GMT | 6 | ||||
1.0.0-beta.2.37 | 150.13 KB | Sat, 01 Jun 2024 23:11:13 GMT | 4 | ||||
1.0.0-beta.2 | 150.09 KB | Sat, 01 Jun 2024 23:16:49 GMT | 5 | ||||
1.0.0-beta.1.36 | 150.19 KB | Sat, 01 Jun 2024 23:04:17 GMT | 3 | ||||
1.0.0-beta.1.33 | 58.37 KB | Sat, 25 May 2024 21:41:12 GMT | 4 | ||||
1.0.0-beta.1.32 | 58.38 KB | Sat, 25 May 2024 21:16:24 GMT | 4 | ||||
1.0.0-beta.1 | 58.35 KB | Sat, 25 May 2024 21:41:11 GMT | 6 |