2015-06-22 13:12:20 +00:00
|
|
|
<pre class="example">wf:[colon-separated list of features]</pre>
|
|
|
|
</p>
|
2015-05-03 21:54:59 +00:00
|
|
|
|
|
|
|
<table class="table table-bordered">
|
2015-06-22 13:12:20 +00:00
|
|
|
<tbody>
|
2015-05-03 21:54:59 +00:00
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td> b<a href="#valuespec">VALUE</a> </td>
|
|
|
|
<td>
|
2015-06-22 13:12:20 +00:00
|
|
|
Set the frame payload. If a masking key is present, the value is encoded automatically.
|
2015-05-03 21:54:59 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td> c<a href="#valuespec">INTEGER</a> </td>
|
|
|
|
<td>
|
|
|
|
|
2015-06-26 09:47:39 +00:00
|
|
|
Set the op code. This can either be an integer from 0-15, or be one of the following
|
|
|
|
opcode names: <b>text</b> (the default),
|
2015-05-03 22:48:35 +00:00
|
|
|
<b>continue</b>, <b>binary</b>, <b>close</b>, <b>ping</b>,
|
2015-05-03 21:54:59 +00:00
|
|
|
<b>pong</b>.
|
2015-05-03 22:48:35 +00:00
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2015-05-15 21:42:47 +00:00
|
|
|
<tr>
|
|
|
|
<td> d<a href="#offsetspec">OFFSET</a> </td>
|
|
|
|
<td>
|
|
|
|
Disconnect after OFFSET bytes.
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2015-05-03 22:48:35 +00:00
|
|
|
<tr>
|
|
|
|
<td> [-]fin </td>
|
|
|
|
<td>
|
|
|
|
Set or un-set the <b>fin</b> bit.
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2015-05-15 21:42:47 +00:00
|
|
|
<td> i<a href="#offsetspec">OFFSET</a>,<a href="#valuespec">VALUE</a> </td>
|
2015-05-03 22:48:35 +00:00
|
|
|
<td>
|
2015-05-15 21:42:47 +00:00
|
|
|
Inject the specified value at the offset.
|
2015-05-03 22:48:35 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2015-05-15 23:31:53 +00:00
|
|
|
<tr>
|
|
|
|
<td> k<a href="#valuespec">VALUE</a> </td>
|
|
|
|
<td>
|
2015-06-26 09:47:39 +00:00
|
|
|
Set the masking key. The resulting value must be exactly 4 bytes long. The special
|
|
|
|
form
|
|
|
|
<b>knone</b> specifies that no key should be set, even if the mask
|
|
|
|
bit is on.
|
2015-05-15 23:31:53 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2015-05-16 23:31:02 +00:00
|
|
|
<tr>
|
|
|
|
<td> l<a href="#valuespec">INTEGER</a> </td>
|
|
|
|
<td>
|
2015-06-22 13:12:20 +00:00
|
|
|
Set the payload length in the frame header, regardless of the actual body length.
|
2015-05-16 23:31:02 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2015-05-03 22:48:35 +00:00
|
|
|
<tr>
|
2015-05-15 21:42:47 +00:00
|
|
|
<td> [-]mask </td>
|
2015-05-03 22:48:35 +00:00
|
|
|
<td>
|
2015-05-15 21:42:47 +00:00
|
|
|
Set or un-set the <b>mask</b> bit.
|
2015-05-03 22:48:35 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2015-05-15 21:42:47 +00:00
|
|
|
<td> p<a href="#offsetspec">OFFSET</a>,SECONDS </td>
|
2015-05-03 22:48:35 +00:00
|
|
|
<td>
|
2015-06-26 09:47:39 +00:00
|
|
|
Pause for SECONDS seconds after OFFSET bytes. SECONDS can be an integer or "f" to
|
|
|
|
pause forever.
|
2015-05-03 22:48:35 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2015-05-17 03:38:13 +00:00
|
|
|
<tr>
|
|
|
|
<td> r<a href="#valuespec">VALUE</a> </td>
|
|
|
|
<td>
|
2015-06-22 13:12:20 +00:00
|
|
|
Set the raw frame payload. This disables masking, even if the key is present.
|
2015-05-17 03:38:13 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2015-05-03 21:54:59 +00:00
|
|
|
<tr>
|
2015-05-15 21:42:47 +00:00
|
|
|
<td> [-]rsv1 </td>
|
2015-05-03 21:54:59 +00:00
|
|
|
<td>
|
2015-05-15 21:42:47 +00:00
|
|
|
Set or un-set the <b>rsv1</b> bit.
|
2015-05-03 21:54:59 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2015-05-15 21:42:47 +00:00
|
|
|
<td> [-]rsv2 </td>
|
2015-05-03 21:54:59 +00:00
|
|
|
<td>
|
2015-05-15 21:42:47 +00:00
|
|
|
Set or un-set the <b>rsv2</b> bit.
|
2015-05-03 21:54:59 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2015-05-15 21:42:47 +00:00
|
|
|
<td> [-]rsv3 </td>
|
2015-05-03 21:54:59 +00:00
|
|
|
<td>
|
2015-05-15 21:42:47 +00:00
|
|
|
Set or un-set the <b>rsv3</b> bit.
|
2015-05-03 21:54:59 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2015-05-17 03:49:16 +00:00
|
|
|
<tr>
|
|
|
|
<td> x<a href="#valuespec">INTEGER</a> </td>
|
|
|
|
<td>
|
|
|
|
Repeat this message N times.
|
|
|
|
</td>
|
|
|
|
</tr>
|
2015-05-15 21:42:47 +00:00
|
|
|
|
2015-05-03 21:54:59 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|