首页 > 解决方案 > How to reproduce a websocket connection intercepted by mitmproxy?

问题描述

mitmproxy shows an HTTPS GET request returning 101 Switching Protocols response code and upgrade websocket header.

websocket clients require a WSS (or WS) URL.

In order to reproduce the mitmproxy intercepted request using a websocket client, can the HTTPS URL be converted into a WSS one ?

标签: node.jswebsocketmitmproxy

解决方案


推荐阅读