A WebSocket server for .NET Core written in C#.
dotnet add package Jakkes.WebSockets --version 2.0.0-beta
Install-Package Jakkes.WebSockets -Version 2.0.0-beta
Very straight forward. Create or derive the class WebSocketServer
in the Jakkes.WebSockets.Server
namespace. Register to the ClientConnected
event and you are good to go!
Don't forget to start the server by calling Start()
.
See EchoExample
and ChatExample
for super tiny examples.