aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-10-04 10:54:15 +1100
committerGitHub <noreply@github.com>2016-10-04 10:54:15 +1100
commit3d5b81199431f3232ebf6050f1b033e61d1172f4 (patch)
tree0d111125733f9211f170f345f506738bf4ba6804 /docs
parentb0add569b988e9f1e319b9577fbd8e076ac5bd23 (diff)
parent2bd868662937b504cccd825e9e24e3cb6a142708 (diff)
downloadmitmproxy-3d5b81199431f3232ebf6050f1b033e61d1172f4.tar.gz
mitmproxy-3d5b81199431f3232ebf6050f1b033e61d1172f4.tar.bz2
mitmproxy-3d5b81199431f3232ebf6050f1b033e61d1172f4.zip
Merge pull request #1592 from cortesi/ws
docs and API-related cleanups
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.