Merge pull request #2985 from hcbarry/master

events.py typo fix
This commit is contained in:
Thomas Kriechbaumer 2018-03-10 18:06:56 +01:00 committed by GitHub
commit 8f334f2efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
"""