aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-03 10:18:36 +1100
committerAldo Cortesi <aldo@nullcube.com>2016-10-04 08:13:56 +1100
commitb73569465391e6f159c6690fc08a566a2c0bbafb (patch)
tree8b45886d50a58bbb15178610bc33c332ae06b72b /docs
parentb0add569b988e9f1e319b9577fbd8e076ac5bd23 (diff)
downloadmitmproxy-b73569465391e6f159c6690fc08a566a2c0bbafb.tar.gz
mitmproxy-b73569465391e6f159c6690fc08a566a2c0bbafb.tar.bz2
mitmproxy-b73569465391e6f159c6690fc08a566a2c0bbafb.zip
websockets_handshake -> websocket_handshake
The plural feels awkward.
Diffstat (limited to 'docs')
-rw-r--r--docs/scripting/inlinescripts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/scripting/inlinescripts.rst b/docs/scripting/inlinescripts.rst
index 5e56e01e..74d4e714 100644
--- a/docs/scripting/inlinescripts.rst
+++ b/docs/scripting/inlinescripts.rst
@@ -128,7 +128,7 @@ HTTP Events
WebSockets Events
^^^^^^^^^^^^^^^^^
-.. py:function:: websockets_handshake(context, flow)
+.. py:function:: websocket_handshake(context, flow)
Called when a client wants to establish a WebSockets connection.
The WebSockets-specific headers can be manipulated to manipulate the handshake.