aboutsummaryrefslogtreecommitdiffstats
path: root/docs/scripting
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-11-13 16:18:29 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-11-23 10:18:45 +0100
commitffb3988dc9ef3f7f8137b913edb7986e148e0dc4 (patch)
tree2eb6ceeed50f1832aa97e023b0ad497602232367 /docs/scripting
parenta6c608e08595e95279713e51e2a346344bd290c0 (diff)
downloadmitmproxy-ffb3988dc9ef3f7f8137b913edb7986e148e0dc4.tar.gz
mitmproxy-ffb3988dc9ef3f7f8137b913edb7986e148e0dc4.tar.bz2
mitmproxy-ffb3988dc9ef3f7f8137b913edb7986e148e0dc4.zip
rename WebSocket{s,} protocol
Diffstat (limited to 'docs/scripting')
-rw-r--r--docs/scripting/events.rst8
1 files changed, 4 insertions, 4 deletions
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.