From d66dedc6e7bdc201cd4d3fa5f04c9636a8ad57f4 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 16 May 2015 09:42:47 +1200 Subject: websockets: mask specification - Add a FixedLengthValue - Use it to implement a 4-byte mask specifier - Adjust docs --- libpathod/templates/docs_lang_websockets.html | 39 ++++++++++++++++----------- 1 file changed, 24 insertions(+), 15 deletions(-) (limited to 'libpathod/templates/docs_lang_websockets.html') diff --git a/libpathod/templates/docs_lang_websockets.html b/libpathod/templates/docs_lang_websockets.html index 9b595e74..c50d081f 100644 --- a/libpathod/templates/docs_lang_websockets.html +++ b/libpathod/templates/docs_lang_websockets.html @@ -23,6 +23,13 @@ + + dOFFSET + + Disconnect after OFFSET bytes. + + + [-]fin @@ -31,54 +38,56 @@ - [-]rsv1 + iOFFSET,VALUE - Set or un-set the rsv1 bit. + Inject the specified value at the offset. - [-]rsv2 + [-]mask - Set or un-set the rsv2 bit. + Set or un-set the mask bit. - [-]rsv3 + pOFFSET,SECONDS - Set or un-set the rsv3 bit. + Pause for SECONDS seconds after OFFSET bytes. SECONDS can + be an integer or "f" to pause forever. - [-]mask + r - Set or un-set the mask bit. + Create a "raw" frame - disables auto-generation of the masking + key if the mask bit is on. - dOFFSET + [-]rsv1 - Disconnect after OFFSET bytes. + Set or un-set the rsv1 bit. - iOFFSET,VALUE + [-]rsv2 - Inject the specified value at the offset. + Set or un-set the rsv2 bit. - pOFFSET,SECONDS + [-]rsv3 - Pause for SECONDS seconds after OFFSET bytes. SECONDS can - be an integer or "f" to pause forever. + Set or un-set the rsv3 bit. + -- cgit v1.2.3