aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2018-03-10 18:06:56 +0100
committerGitHub <noreply@github.com>2018-03-10 18:06:56 +0100
commit8f334f2efa08b0922fd6653654aa35983d65ddd1 (patch)
treecb2271e14da14492760b42f406b040fd6fb72c81
parent56174783591700871249445ecefec79e6d6d1a6a (diff)
parentb35311441ff665d2f56b780b019ec97fc8b25c32 (diff)
downloadmitmproxy-8f334f2efa08b0922fd6653654aa35983d65ddd1.tar.gz
mitmproxy-8f334f2efa08b0922fd6653654aa35983d65ddd1.tar.bz2
mitmproxy-8f334f2efa08b0922fd6653654aa35983d65ddd1.zip
Merge pull request #2985 from hcbarry/master
events.py typo fix
-rw-r--r--examples/addons/events.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/addons/events.py b/examples/addons/events.py
index d3c90430..674ab4c8 100644
--- a/examples/addons/events.py
+++ b/examples/addons/events.py
@@ -80,12 +80,12 @@ class Events:
attribute.
"""
- def websocket_start(self, flow: mitmproxy.websocket.WebsocketFlow):
+ def websocket_start(self, flow: mitmproxy.websocket.WebSocketFlow):
"""
A websocket connection has commenced.
"""
- def websocket_message(self, flow: mitmproxy.websocket.WebsocketFlow):
+ def websocket_message(self, flow: mitmproxy.websocket.WebSocketFlow):
"""
Called when a WebSocket message is received from the client or
server. The most recent message will be flow.messages[-1]. The
@@ -93,12 +93,12 @@ class Events:
messages, corresponding to the BINARY and TEXT frame types.
"""
- def websocket_error(self, flow: mitmproxy.websocket.WebsocketFlow):
+ def websocket_error(self, flow: mitmproxy.websocket.WebSocketFlow):
"""
A websocket connection has had an error.
"""
- def websocket_end(self, flow: mitmproxy.websocket.WebsocketFlow):
+ def websocket_end(self, flow: mitmproxy.websocket.WebSocketFlow):
"""
A websocket connection has ended.
"""