WebSocketSharp.Standard 1.0.3

dotnet add package WebSocketSharp.Standard --version 1.0.3                
NuGet\Install-Package WebSocketSharp.Standard -Version 1.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WebSocketSharp.Standard" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WebSocketSharp.Standard --version 1.0.3                
#r "nuget: WebSocketSharp.Standard, 1.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WebSocketSharp.Standard as a Cake Addin
#addin nuget:?package=WebSocketSharp.Standard&version=1.0.3

// Install WebSocketSharp.Standard as a Cake Tool
#tool nuget:?package=WebSocketSharp.Standard&version=1.0.3                

websocket-sharp supports:

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.

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).

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on WebSocketSharp.Standard:

Package Downloads
RocketUI

Package Description

iqoptionapi

Iqoption Api for .NET - https://github.com/MongkonEiadon/Iqoption.Net

IqOptionApiDotNet

Iqoption Api for DOTNET - https://github.com/JorgeBeserra/IqOptionApiDotNet

NexusHttpServer

Lightweight .NET abstraction for handling HTTP requests.

LumiaSdk

Developers can use the Lumia Stream SDK to extend and control the Lumia Stream desktop app, enabling them to control smart lights, MIDI, DMX, OSC, OBS, TTS and so much more to create a custom and unique lighting experience.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on WebSocketSharp.Standard:

Repository Stars
yukuyoulei/ILRuntime_HotGames
基于ILRuntime的热更新能力实现的可以直接使用的框架,友情赠送C# WebService + WebSocketServer服务器端。
Version Downloads Last updated
1.0.3 93,572 9/13/2019

The MIT License (MIT)

Copyright (c) 2010-2019 sta.blockhead

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.