The WebSocketListener class provides simple methods that listen for and accept incoming WebSocket connection requests asynchronously. It is a lightweight listener with an API very similar to the System.Net.TcpListener class. It does not use the Microsoft's System.Net.WebSockets namespace. WebSocketListener has been designed to provide WebSocket connectivity to other applications, in the same way that System.Net.TcpListener provides TCP connectivity. It is not a communication framework on its own and it does not provide any kind of publisher/subscriber pattern or reliable messaging beyond TCP.

Features

  • It can work with both Text or Binary messages
  • It supports per-message deflate compression
  • It can work with multiple WebSocket standards simultaneously
  • It can work with cookies and custom HTTP response statuses
  • It detects and disconnects half open connections
  • It handles interleaved control frames transparently

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow WebSocketListener

WebSocketListener Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of WebSocketListener!

Additional Project Details

Programming Language

C#

Related Categories

C# WebSocket Libraries

Registered

2023-08-14