diff options
| author | cbdev <cb@cbcdn.com> | 2019-06-20 08:19:29 +0200 |
|---|---|---|
| committer | cbdev <cb@cbcdn.com> | 2019-06-20 08:19:29 +0200 |
| commit | e60aa0c5779bce199020236c0ac3a4beace571cb (patch) | |
| tree | 52b5df2816b944ceeeb6bb2762d6e7bd5cea457b /README.md | |
| parent | 303e464579e2fc9961d4d9f4841e916f9aa8963f (diff) | |
| download | websocksy-e60aa0c5779bce199020236c0ac3a4beace571cb.tar.gz websocksy-e60aa0c5779bce199020236c0ac3a4beace571cb.tar.bz2 websocksy-e60aa0c5779bce199020236c0ac3a4beace571cb.zip | |
Implement additional framing functions (Fixes #3)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -67,6 +67,8 @@ framing functions (both built in and loaded from plugins). * `auto`: Send all data immediately, with the `text` type if the content was detected as valid UTF-8 string, otherwise use a `binary` frame * `binary`: Send all data immediately as a `binary` frame +* `separator`: Waits until a variable-length separator is found in the stream and sends data up to and including that position as binary frame. Takes as parameter the separator string. The escape sequences `\r`, `\t`, `\n`, `\0`, `\f` and `\\` are recognized, arbitrary bytes can be specified hexadecimally using `\x<hex>` +* `newline`: Waits until a newline sequence is found in the stream and sends data up to and including that position as text frame if all data is valid UTF-8 (data frame otherwise). The configuration string may be one of `crlf`, `lfcr`, `lf`, `cr` specifying the sequence to look for. # Configuration / Usage |
