Open roberth opened 6 years ago
The request body gets copied before send. This may be more efficient in case of jsaddle-warp but possibly not on GHCJS. Also we're assuming offset = 0 and length is appropriate. B.copy seems to guarantee that, but can we be sure?
send
jsaddle-warp
B.copy
Borrow this? https://github.com/reflex-frp/reflex-dom/blob/2e45e1eaa1896a12fd5ced9f9971b250f3f535a8/reflex-dom-core/src/Foreign/JavaScript/Utils.hs
The request body gets copied before
send
. This may be more efficient in case ofjsaddle-warp
but possibly not on GHCJS. Also we're assuming offset = 0 and length is appropriate.B.copy
seems to guarantee that, but can we be sure?