websockets / wscat

WebSocket cat
MIT License
2.25k stars 223 forks source link

Proxy Support #54

Closed jeduden closed 5 years ago

jeduden commented 7 years ago

is there a way to configure an http proxy with wscat's cli ?

nwwells commented 7 years ago

Not currently. I'm not exactly sure what you're looking for, though. What's your use case?

jeduden commented 7 years ago

to configure corperate proxies explicitly

nwwells commented 7 years ago

Oh I think 8 understand what you mean. No, this isn't currently supported, and I'm not sure what can be done to support it.

On Fri, Oct 13, 2017, 2:25 AM jeduden notifications@github.com wrote:

to configure corperate proxies explicitly

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/websockets/wscat/issues/54#issuecomment-336361867, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_ccc1JZlXSWeipYfuZIP1ET1AQwwYIks5srwJBgaJpZM4Py2dD .

jeduden commented 7 years ago

An integration of this lib would be needed: https://github.com/TooTallNate/node-https-proxy-agent

nwwells commented 7 years ago

I'd review a PR if you'd be willing to submit it.

odilitime commented 7 years ago

nginx can proxy websockets https://www.nginx.com/blog/websocket-nginx/

chuacw commented 6 years ago

I would like to capture the request and response that wscat is sending to a host using Fiddler, or some other HTTP proxy, eg wscat wss://some_host_on_the_internet/somerequest and then be able to view it on Fiddler (or some other HTTP proxy application) what the request and response is.