diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-11-13 16:18:29 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-11-23 10:18:45 +0100 |
commit | ffb3988dc9ef3f7f8137b913edb7986e148e0dc4 (patch) | |
tree | 2eb6ceeed50f1832aa97e023b0ad497602232367 /docs | |
parent | a6c608e08595e95279713e51e2a346344bd290c0 (diff) | |
download | mitmproxy-ffb3988dc9ef3f7f8137b913edb7986e148e0dc4.tar.gz mitmproxy-ffb3988dc9ef3f7f8137b913edb7986e148e0dc4.tar.bz2 mitmproxy-ffb3988dc9ef3f7f8137b913edb7986e148e0dc4.zip |
rename WebSocket{s,} protocol
Diffstat (limited to 'docs')
-rw-r--r-- | docs/features/tcpproxy.rst | 2 | ||||
-rw-r--r-- | docs/scripting/events.rst | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/features/tcpproxy.rst b/docs/features/tcpproxy.rst index 1d6fbd12..e24620e2 100644 --- a/docs/features/tcpproxy.rst +++ b/docs/features/tcpproxy.rst @@ -3,7 +3,7 @@ TCP Proxy ========= -WebSockets or other non-HTTP protocols are not supported by mitmproxy yet. However, you can exempt +Non-HTTP protocols are not supported by mitmproxy yet. However, you can exempt hostnames from processing, so that mitmproxy acts as a generic TCP forwarder. This feature is closely related to the :ref:`passthrough` functionality, but differs in two important aspects: diff --git a/docs/scripting/events.rst b/docs/scripting/events.rst index 5f560e58..69b829a3 100644 --- a/docs/scripting/events.rst +++ b/docs/scripting/events.rst @@ -162,15 +162,15 @@ WebSocket Events :widths: 40 60 :header-rows: 0 - * - .. py:function:: websockets_handshake(flow) + * - .. py:function:: websocket_handshake(flow) - - Called when a client wants to establish a WebSockets connection. The - WebSockets-specific headers can be manipulated to manipulate the + - Called when a client wants to establish a WebSocket connection. The + WebSocket-specific headers can be manipulated to manipulate the handshake. The ``flow`` object is guaranteed to have a non-None ``request`` attribute. *flow* - The flow containing the HTTP websocket handshake request. The + The flow containing the HTTP WebSocket handshake request. The object is guaranteed to have a non-None ``request`` attribute. |