Skip to content

Don't implement WebSocket Protocol from scratch #4

@phantomcosmonaut

Description

@phantomcosmonaut

There is no need to maintain code that implements the websocket protocol. Just wrap the TcpClient stream with a factory method from the System library System.Net.Sockets.WebSocket.CreateFromStream(client.GetStream(), true, null, TimeSpan.FromSeconds(n)) and you get all the functionality for free.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions