deniszykov.WebSocketListener 4.2.19

A lightweight and highly scalable asynchronous WebSocket listener for .NET Core, .NET and Mono. https://github.com/deniszykov/WebSocketListener

Showing the top 20 packages that depend on deniszykov.WebSocketListener.

Packages Downloads
BenchmarkDotNet
Powerful .NET library for benchmarking
1

v4.2.19 fixed support for listening on zero port.

        v4.2.18
        added netstandard2.0 target

        v4.2.17
        added support for specifying a zero port (OS selectable) for the tcp:// scheme.

        v.4.2.16
        @animehunter refactored WebSocketHandshaker to support async IO operation

        v.4.2.15
        fixed BufferManager.CreateBufferManager should accept pool size in bytes instead of items.
        fixed misleading error message when BufferManager and SendBuffer is not set properly.


        v.4.2.14
        fixed connection close reason parsing and hung(and timeout) after receiving close frame from client.

        v.4.2.11
        added close reply if remote party is requesting connection close.

        v.4.2.10
        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'

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

        v.4.2.8
        fix LocalEndPoint value on WebSocketConnectionRfc6455

        v.4.2.7
        [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


        v.4.2.6
        [WS] fixed ping timeout error on busy WebSockets

        v.4.2.5
        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

        v.4.2.4
        [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

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

        v.4.2.0
        stable version

        v.4.1.6
        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

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

        v.4.1.4
        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

        v.4.1.3
        fixed unobserved exception at WebSocketSecureConnectionExtension.ExtendConnectionAsync

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

        v.4.1.1
        fixed bug in BandwidthSaving ping strategy

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

        v4.0.4
        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

        v.4.0.3
        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

.NET Framework 4.5

  • No dependencies.

.NET Standard 1.3

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
4.2.19 1 07/03/2026
4.2.16 1 07/03/2026
4.2.15 1 07/03/2026
4.2.14 1 07/03/2026
4.2.10 1 07/03/2026
4.2.9 1 07/03/2026
4.2.8-beta 1 07/02/2026
4.2.7-alpha 1 07/02/2026
4.2.6-alpha 1 07/02/2026
4.2.4 1 07/03/2026
4.2.2 1 07/03/2026
4.1.3 1 07/03/2026
4.0.0 1 07/03/2026