aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-04 10:48:35 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-04 10:48:35 +1200
commit589deb9fe14baa8e07d661d4e3d3a60c48512545 (patch)
tree524c85da3212300120700ead9f018feff3493aff /libpathod/templates
parent179cc8dc1fd40fb44e8795af43ba6c4e22b22b0d (diff)
downloadmitmproxy-589deb9fe14baa8e07d661d4e3d3a60c48512545.tar.gz
mitmproxy-589deb9fe14baa8e07d661d4e3d3a60c48512545.tar.bz2
mitmproxy-589deb9fe14baa8e07d661d4e3d3a60c48512545.zip
websockets: specification of fin, mask, rsv1-3 bits.
Diffstat (limited to 'libpathod/templates')
-rw-r--r--libpathod/templates/docs_lang_websockets.html40
1 files changed, 38 insertions, 2 deletions
diff --git a/libpathod/templates/docs_lang_websockets.html b/libpathod/templates/docs_lang_websockets.html
index c414320c..9b595e74 100644
--- a/libpathod/templates/docs_lang_websockets.html
+++ b/libpathod/templates/docs_lang_websockets.html
@@ -16,9 +16,45 @@
<td>
Set the op code. This can either be an integer from 0-15, or be
- one of the following opcode names: <b>continue</b>,
- <b>text</b>, <b>binary</b>, <b>close</b>, <b>ping</b>,
+ one of the following opcode names: <b>text</b> (the default),
+ <b>continue</b>, <b>binary</b>, <b>close</b>, <b>ping</b>,
<b>pong</b>.
+
+ </td>
+ </tr>
+
+ <tr>
+ <td> [-]fin </td>
+ <td>
+ Set or un-set the <b>fin</b> bit.
+ </td>
+ </tr>
+
+ <tr>
+ <td> [-]rsv1 </td>
+ <td>
+ Set or un-set the <b>rsv1</b> bit.
+ </td>
+ </tr>
+
+ <tr>
+ <td> [-]rsv2 </td>
+ <td>
+ Set or un-set the <b>rsv2</b> bit.
+ </td>
+ </tr>
+
+ <tr>
+ <td> [-]rsv3 </td>
+ <td>
+ Set or un-set the <b>rsv3</b> bit.
+ </td>
+ </tr>
+
+ <tr>
+ <td> [-]mask </td>
+ <td>
+ Set or un-set the <b>mask</b> bit.
</td>
</tr>