aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/master.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2016-11-13 17:50:51 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2016-11-23 10:18:45 +0100
commit3d8f3d4c239c0b5da5bd5fcc3fddd0fed72815d3 (patch)
treed8f11f44845a47c3183a362c8b10514aec7dc628 /mitmproxy/master.py
parentffb3988dc9ef3f7f8137b913edb7986e148e0dc4 (diff)
downloadmitmproxy-3d8f3d4c239c0b5da5bd5fcc3fddd0fed72815d3.tar.gz
mitmproxy-3d8f3d4c239c0b5da5bd5fcc3fddd0fed72815d3.tar.bz2
mitmproxy-3d8f3d4c239c0b5da5bd5fcc3fddd0fed72815d3.zip
add WebSocket flows and messages
Diffstat (limited to 'mitmproxy/master.py')
-rw-r--r--mitmproxy/master.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/mitmproxy/master.py b/mitmproxy/master.py
index 55eb74e5..7f114096 100644
--- a/mitmproxy/master.py
+++ b/mitmproxy/master.py
@@ -284,6 +284,22 @@ class Master:
pass
@controller.handler
+ def websocket_start(self, flow):
+ pass
+
+ @controller.handler
+ def websocket_message(self, flow):
+ pass
+
+ @controller.handler
+ def websocket_error(self, flow):
+ pass
+
+ @controller.handler
+ def websocket_end(self, flow):
+ pass
+
+ @controller.handler
def tcp_start(self, flow):
pass