Olivine-Labs / Alchemy-Websockets

An extremely efficient C# WebSocket server.
http://AlchemyWebsockets.net
Other
309 stars 105 forks source link

Overriding default response #92

Open MoppDepp opened 10 years ago

MoppDepp commented 10 years ago

Can anyone clearify how can i modify default handshake response for example i contact my server from javascript: var socket = new WebSocket("ws://127.0.0.1:60000", ["binary", "base64"])

How can i get the passed protocols and send specified protocol in response?