Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created January 22, 2024 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/b4eb92a3d02318e6fa08b415a86fe7c3 to your computer and use it in GitHub Desktop.
Save bjoerntx/b4eb92a3d02318e6fa08b415a86fe7c3 to your computer and use it in GitHub Desktop.
// enable Web Sockets
app.UseWebSockets();
// attach the Text Control WebSocketHandler middleware
app.UseTXWebSocketMiddleware("127.0.0.1");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment