diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-12-27 21:44:10 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-12-27 22:01:28 +0100 |
commit | f123fb600dfae40223db44bfda9dba87d8c4eda7 (patch) | |
tree | e50e561faa2102974b7e4a290b721aeb2cae737a /docs/scripting/events.rst | |
parent | ddb8f43b87306437a8eb720072857bde1f2dcf9b (diff) | |
download | mitmproxy-f123fb600dfae40223db44bfda9dba87d8c4eda7.tar.gz mitmproxy-f123fb600dfae40223db44bfda9dba87d8c4eda7.tar.bz2 mitmproxy-f123fb600dfae40223db44bfda9dba87d8c4eda7.zip |
websocket: docs++ and kill messages
fixes #2724
Diffstat (limited to 'docs/scripting/events.rst')
-rw-r--r-- | docs/scripting/events.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/scripting/events.rst b/docs/scripting/events.rst index 9e84dacf..4d74b220 100644 --- a/docs/scripting/events.rst +++ b/docs/scripting/events.rst @@ -187,8 +187,8 @@ are issued, only new WebSocket messages are called. - Called when a WebSocket message is received from the client or server. The sender and receiver are identifiable. The most recent message will be - ``flow.messages[-1]``. The message is user-modifiable. Currently there are - two types of messages, corresponding to the BINARY and TEXT frame types. + ``flow.messages[-1]``. The message is user-modifiable and is killable. + A message is either of TEXT or BINARY type. *flow* A ``models.WebSocketFlow`` object. |