deniszykov.WebSocketListener 4.2.10

There is a newer version of this package available.
See the version list below for details.
Install-Package deniszykov.WebSocketListener -Version 4.2.10
dotnet add package deniszykov.WebSocketListener --version 4.2.10
<PackageReference Include="deniszykov.WebSocketListener" Version="4.2.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add deniszykov.WebSocketListener --version 4.2.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: deniszykov.WebSocketListener, 4.2.10"
#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 deniszykov.WebSocketListener as a Cake Addin
#addin nuget:?package=deniszykov.WebSocketListener&version=4.2.10

// Install deniszykov.WebSocketListener as a Cake Tool
#tool nuget:?package=deniszykov.WebSocketListener&version=4.2.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A lightweight and highly scalable asynchronous WebSocket listener for .NET Core, .NET and Mono.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on deniszykov.WebSocketListener:

Package Downloads

Websocket Connection Capabilities for Buttplug Clients. (.Net Framework 4.7+/.Net Standard 2.0)


Websocket Connection Capabilities for Buttplug Servers. (.Net Framework 4.7+/.Net Standard 2.0)


V8 JavaScript Engine Bindings for Xamarin.Android with Inspector Enabled

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on deniszykov.WebSocketListener:

Repository Stars
[WIP] Ulterius™ server where all the magic happens :rocket: :feelsgood:
Version Downloads Last updated
4.2.14 978 5/15/2021
4.2.10 915 9/8/2020
4.2.9 832 7/3/2020
4.2.8-beta 422 2/27/2020
4.2.7-alpha 597 6/27/2019
4.2.6-alpha 1,047 10/29/2018
4.2.4 35,281 7/3/2018
4.2.2 3,100 3/22/2018
4.1.3 1,573 11/7/2017
4.0.0 2,058 6/21/2017

fixed crash while debug logging Unix Domain Socket connection in `AcceptSocketAsConnection` method.
added additional checks for errord Socket.RemoteEndPoint and Socket.LocalEndPoint, now they produces 'WebSocketHttpRequest.NoAddress'

reverted gzip per-message compression back to original code
added WSClient gzip per-message compression negotiation

fix LocalEndPoint value on WebSocketConnectionRfc6455

[WS] added WriteAndCloseAsync to WebSocketWriteStream
[Compression] added custom async inflater/deflater in WS deflate extension. This would allow make inflation/deflation during WriteAsync/ReadAsync
[WS] replaced extra allocation of Stopwatch with less precise DateTime when measuring negotiation queue
[WS] add int overload to CloseAsync()
[WS] Expose client close codes

[WS] fixed ping timeout error on busy WebSockets

fixed error in WSWriterStream.Dispose() method
reset latency value on WS close or ping timeout
changed WSConnection Dispose() routine. Now it is not waiting for graceful close.
changed Ping timeout now cause WSConnection.Dispose instead on CloseAsync
fixed Ping timeout now properly calculated based on WS activity

[Common] replaced all DynamicMethod invocation with slower reflection alternative in case AOT-only runtime.
[WS] better error message while writing to closed stream
[Transports] clean-up SocketAsyncEventArgs after each operation to prevent holding GC references on used buffers

added DualMode option for TcpTransport
fixed race condition in WebSocket.Write() (Thanks @fuzzykiller)

stable version

fixed ping queue stop on error
added in/out buffers for ping/pong to reduce change of collision if both side pinging
replaced masking/demasking algorithm with faster unsafe implementation
added IpProtectionLevel option for tcp transport
fixed unbserved exception in WSMessageWriteStream.CloseAsync method

removed unused code from helpers
Prevent crash when value contains only empty spaces

added few changes in SendFrameAsync to prevent unobserved exceptions
added better error message for parallel AcceptWebSocketAsync call
added better error message when handshake error occurred

fixed unobserved exception at WebSocketSecureConnectionExtension.ExtendConnectionAsync

fixed infinite loop in timed queue (batch-ping related stuff)

fixed bug in BandwidthSaving ping strategy

added request header to WebSocketClient.ConnectAsync signature
PingQueue list re-use
Echo refactoring (perf. counters removed)
JetBrains.Annotations is now internal

fixed TimedQueue implementation (atomic Int64 reading for 32 bit systems)
fixed Headers add NameValueCollection implementation to threat header values as not splitted headers
removed AsyncResultTask and refactored BeginRead/BeginWrite on streams
updated AsyncQueue implementation

added 'Connection:close' header to 'Bad Request' response of WebSocket handshaker
fixed Unobserved exception because wrong implementation of TaskHelper.IgnoreFault.
refactored TaskHelper.IgnoreFault and TaskHelper.PropagateResutTo to shortcut on Completed tasks
fixed ping errors on WebSockets
fixed TimedQueue impl
Headers refactoring, added HeaderFlags parameter to headers
refactored Socket shutdown sequence to prevent 'connection reset by peer' errors

UNIX Domain Sockets are tested on Linux