mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-30 18:34:36 +01:00
8195484415
* actix-ws: take the encoded buffer when yielding rather than split it * actix-ws: add memory reduction to changelog --------- Co-authored-by: Rob Ede <robjtede@icloud.com>
542 B
542 B
Changelog
Unreleased
- Take the encoded buffer when yielding bytes in the response stream rather than splitting the buffer, reducing memory use
- Remove type parameters from
Session::{text, binary}()
methods, replacing with equivalentimpl Trait
parameters. Session::text()
now receives animpl Into<ByteString>
, making broadcasting text messages more efficient.- Allow sending continuations via
Session::continuation()
0.2.5
- Adopted into @actix org from https://git.asonix.dog/asonix/actix-actorless-websockets.