sta / websocket-sharp

A C# implementation of the WebSocket protocol client and server
http://sta.github.io/websocket-sharp
MIT License
5.74k stars 1.66k forks source link

Support for proxies #39

Open matthauck opened 10 years ago

matthauck commented 10 years ago

It would be great if websocket-sharp was able to be configured for proxy traversal (using HTTP CONNECT), and support proxy basic authentication as well.

(Not sure if this is the right place for enhancement requests...)

sta commented 10 years ago

Yeah, i think so too.

Sometimes i consider the implementation for the WebSocket Proxy server. Although i think the following is simple,

httpsv.AddWebSocketService<Proxy> (
  "/Proxy",
  () => new Proxy () {
    // Configuring Proxy service
    ...
  });

Well, even better idea might come out, so could you waiting for?

matthauck commented 10 years ago

hmm, i was thinking of at the websocket client side, to be able to connect out to a remote websocket server and traverse a proxy on the way.