mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 02:10:59 +00:00
docs++: add websocket PING/PONG
This commit is contained in:
parent
3cb459d56d
commit
70e1409261
@ -15,3 +15,8 @@ provides an easy-to-use event-based API.
|
|||||||
|
|
||||||
mitmproxy fully supports the compression extension for WebSocket messages,
|
mitmproxy fully supports the compression extension for WebSocket messages,
|
||||||
provided by wsproto.
|
provided by wsproto.
|
||||||
|
|
||||||
|
If an endpoint sends a PING to mitmproxy, a PONG will be sent back immediately
|
||||||
|
(with the same payload if present). To keep the other connection alive, a new
|
||||||
|
PING (without a payload) is sent to the other endpoint. Unsolicited PONG's are
|
||||||
|
not forwarded. All PING's and PONG's are logged (with payload if present).
|
||||||
|
Loading…
Reference in New Issue
Block a user