Skip to content

Commit

Permalink
docs++: add websocket PING/PONG
Browse files Browse the repository at this point in the history
  • Loading branch information
Kriechi committed Dec 12, 2017
1 parent 3cb459d commit 70e1409
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/protocols/websocket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ provides an easy-to-use event-based API.

mitmproxy fully supports the compression extension for WebSocket messages,
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).

0 comments on commit 70e1409

Please sign in to comment.