WebSocketSharp.Standard 1.0.3

websocket-sharp provides the WebSocket protocol client and server.
It supports:
- RFC 6455
- WebSocket Client and Server
- Per-message Compression extension
- Secure Connection
- HTTP Authentication (Basic/Digest)
- Query String, Origin header and Cookies
- Connecting through the HTTP Proxy server
- .NET 3.5 or later (includes compatible)

Install-Package WebSocketSharp.Standard -Version 1.0.3
dotnet add package WebSocketSharp.Standard --version 1.0.3
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WebSocketSharp.Standard, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

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

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.

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

Release Notes

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.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (5)

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

Package Downloads
iqoptionapi
Iqoption Api for .NET - https://github.com/MongkonEiadon/Iqoption.Net
RocketUI
Package Description
iqoptionapidotnet
Iqoption Api for DOTNET - https://github.com/JorgeBeserra/IqOptionApiDotNet based in Iqoption Api for DOTNET - https://github.com/MongkonEiadon/Iqoption.Net)
NexusHttpServer
Lightweight .NET abstraction for handling HTTP requests.
iqoptionapi2
Iqoption Api for .NET - https://github.com/MongkonEiadon/Iqoption.Net

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 History

Version Downloads Last updated
1.0.3 12,620 9/13/2019