vtortola.WebSocketListener 3.0.0

Lightweight and highly scalable asynchronous WebSocket listener, compilant with the official RFC6455 specification. It supports async/await operations, SSL/TLS (wss://), message compression, customizable HTTP negotiation, built-in keep-alive, latency control, partial frames and have several extensibility points.

Install-Package vtortola.WebSocketListener -Version 3.0.0
dotnet add package vtortola.WebSocketListener --version 3.0.0
<PackageReference Include="vtortola.WebSocketListener" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add vtortola.WebSocketListener --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

The MIT License (MIT)

Copyright (c) 2014 vtortola

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 EALINGS IN THE SOFTWARE.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on vtortola.WebSocketListener:

Package Downloads
WampSharp.Vtortola
Vtortola transport for WampSharp
LiveReload.NET
Implements a LiveReload server for .NET
Ayyo.Server
Ayyo Server
NLog.Contrib.Targets.WebSocketServer
NLog.Contrib.Targets.WebSocketServer is a NLog target that instead of writing on a file, or showing the log on the console, broadcast the log entries to the connected websocket connections. Features: - Fully integrated with NLog: it does not require changes in your application code beyond the configuration. - Self-hosted: it does not need IIS or any hosting framework, WebSocketListener is socket based. - Mono compatible: Both NLog and WebSocketListener are compatible with Mono. - Subscribe to Regular Expressions: Is it possible to send a message throug the WebSocket connection to indicate the expression to which you want to subscribe. Only log entries matching that regex will be sent. - Scalable: NLog and WebSocketListener components are decoupled by a producer-consumer pattern, so NLog will append the log entries to WebSocketServerTarget in O(1) time always, and another thread/threads are responsible of distributing that log entry to the clients. Still, if the component has a big number of connected clients, it may interfere with your application performance. See the MaxConnectedClients configuration setting.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on vtortola.WebSocketListener:

Repository Stars
Code-Sharp/WampSharp
A C# implementation of WAMP (The Web Application Messaging Protocol)
vtortola/WebSocketListener
A lightweight and scalable asynchronous WebSocket listener

Version History

Version Downloads Last updated
3.0.0 13,352 12/20/2017
3.0.0-beta 651 9/24/2017
2.2.4 9,218 9/19/2017
2.2.3 10,341 8/23/2017
2.2.2 6,017 10/14/2016
2.2.1 920 8/21/2016
2.2.0.3 2,379 6/1/2016
2.2.0.2 641 5/13/2016
2.2.0.1 3,623 1/20/2016
2.1.9 2,191 8/19/2015
2.1.8 1,070 7/25/2015
2.1.7 5,155 4/30/2015
2.1.5 1,061 3/16/2015
2.1.3 2,103 11/24/2014
2.1.1 1,601 9/3/2014
2.1.0 833 5/25/2014
2.0.1 666 5/12/2014
2.0.0 792 5/5/2014
1.1.1 555 4/12/2014
1.1.0 545 4/7/2014
1.0.2 572 4/4/2014
1.0.0 1,471 3/24/2014