aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-16 11:31:53 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-16 11:31:53 +1200
commit2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9 (patch)
treedb69f9cff1ff0611b507f55c133994076166af6e /libpathod/templates
parentd66dedc6e7bdc201cd4d3fa5f04c9636a8ad57f4 (diff)
downloadmitmproxy-2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9.tar.gz
mitmproxy-2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9.tar.bz2
mitmproxy-2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9.zip
websockets: client and server flavors, key and mask specification
Diffstat (limited to 'libpathod/templates')
-rw-r--r--libpathod/templates/docs_lang_websockets.html16
1 files changed, 14 insertions, 2 deletions
diff --git a/libpathod/templates/docs_lang_websockets.html b/libpathod/templates/docs_lang_websockets.html
index c50d081f..9eb1ec25 100644
--- a/libpathod/templates/docs_lang_websockets.html
+++ b/libpathod/templates/docs_lang_websockets.html
@@ -45,6 +45,14 @@
</tr>
<tr>
+ <td> k<a href="#valuespec">VALUE</a> </td>
+ <td>
+ Set the masking key. The resulting value must be exactly 4
+ bytes long.
+ </td>
+ </tr>
+
+ <tr>
<td> [-]mask </td>
<td>
Set or un-set the <b>mask</b> bit.
@@ -62,8 +70,12 @@
<tr>
<td> r </td>
<td>
- Create a "raw" frame - disables auto-generation of the masking
- key if the mask bit is on.
+ Create a "raw" frame:
+ <ul>
+ <li> Don't auto-generate the masking key if the mask flag is
+ set </li>
+
+ <li> Don't set the mask flag if masking key is set. </li>
</td>
</tr>