websocket: Support for sending fragmented frames.
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>
Mon, 22 Apr 2019 17:30:22 +0000 (19:30 +0200)
committerJan (janneke) Nieuwenhuizen <janneke@gnu.org>
Thu, 18 Mar 2021 21:51:46 +0000 (22:51 +0100)
commit715d98b09ba5745db5efc19e6d3de38e8eb38793
tree60f1ea79d40954da8f16b35393a92ca91f4f1608
parent9f0c24e3e0f610303b9af8ff979c8e4408713cc8
websocket: Support for sending fragmented frames.

* 8sync/systems/websocket/frame.scm (make-text-frame): Add keyword
parameters final and continuation.
(make-binary-frame): Likewise.
* 8sync/systems/websocket/client.scm (make-fragmented-frames): New
function.
(websocket-send): Use it to send fragmented frames.
8sync/systems/websocket/client.scm
8sync/systems/websocket/frame.scm