WebsocketSharp.Standard2
2022.4.16.1520
dotnet add package WebsocketSharp.Standard2 --version 2022.4.16.1520
NuGet\Install-Package WebsocketSharp.Standard2 -Version 2022.4.16.1520
<PackageReference Include="WebsocketSharp.Standard2" Version="2022.4.16.1520" />
paket add WebsocketSharp.Standard2 --version 2022.4.16.1520
#r "nuget: WebsocketSharp.Standard2, 2022.4.16.1520"
// Install WebsocketSharp.Standard2 as a Cake Addin #addin nuget:?package=WebsocketSharp.Standard2&version=2022.4.16.1520 // Install WebsocketSharp.Standard2 as a Cake Tool #tool nuget:?package=WebsocketSharp.Standard2&version=2022.4.16.1520
Welcome to websocket-sharp!
websocket-sharp supports:
- RFC 6455
- WebSocket Client and Server
- Per-message Compression extension
- Secure Connection
- HTTP Authentication
- Query string, Origin header, and Cookies
- Connecting through the HTTP proxy server
- .NET Framework 3.5 or later (includes compatible environment such as [Mono])
Branches
- [master] for production releases.
- [hybi-00] for older [draft-ietf-hybi-thewebsocketprotocol-00]. No longer maintained.
- [draft75] for even more old [draft-hixie-thewebsocketprotocol-75]. No longer maintained.
Build
websocket-sharp is built as a single assembly, websocket-sharp.dll.
websocket-sharp is developed with [MonoDevelop]. So a simple way to build is to open websocket-sharp.sln and run build for websocket-sharp project with any of the build configurations (e.g. Debug
) in MonoDevelop.
Install
Self Build
You should add your websocket-sharp.dll (e.g. /path/to/websocket-sharp/bin/Debug/websocket-sharp.dll
) to the library references of your project.
If you would like to use that dll in your [Unity] project, you should add it to any folder of your project (e.g. Assets/Plugins
) in the Unity Editor.
NuGet Gallery
websocket-sharp is available on the NuGet Gallery, as still a prerelease version.
- [NuGet Gallery: websocket-sharp]
You can add websocket-sharp to your project with the NuGet Package Manager, by using the following command in the Package Manager Console.
PM> Install-Package WebSocketSharp -Pre
Unity Asset Store
websocket-sharp is available on the Unity Asset Store (Sorry, Not available now).
- [WebSocket-Sharp for Unity]
It works with Unity Free, but there are some limitations:
- [Security Sandbox of the Webplayer] (The server is not available in Web Player)
- [WebGL Networking] (Not available in WebGL)
- Incompatible platform (Not available for such UWP)
- Lack of dll for the System.IO.Compression (The compression extension is not available on Windows)
- .NET Socket Support for iOS/Android (iOS/Android Pro is required if your Unity is earlier than Unity 5)
- .NET API 2.0 compatibility level for iOS/Android
.NET API 2.0 compatibility level for iOS/Android may require to fix lack of some features for later than .NET Framework 2.0, such as the System.Func<...>
delegates (so i have added them in the asset package).
And it is priced at US$15. I believe your $15 makes this project more better, Thank you!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. 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.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on WebsocketSharp.Standard2:
Package | Downloads |
---|---|
MIG
MIG is a .NET library providing an integrated solution for developing multi-protocol networked applications and real time web applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2022.4.16.1520 | 11,735 | 4/19/2022 |
2022.2.24.1320 | 837 | 2/24/2022 |
* 2022.04.16.1520
- Open UserHeader set/modify/clear interface;
* 2022.2.24.1320
- Open Request/Response Header about User-Agent or Server settings;
* 2022.2.23.2317
- Increase the log level so that the internal log can be set to not log at all;
- The default internal log is no longer logged at all;
- Update to netstandard2.0;