mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 10:27:42 +02:00
actix-ws: take the encoded buffer when yielding rather than split it (#435)
* 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>
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
## 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 equivalent `impl Trait` parameters.
|
||||
- `Session::text()` now receives an `impl Into<ByteString>`, making broadcasting text messages more efficient.
|
||||
- Allow sending continuations via `Session::continuation()`
|
||||
|
Reference in New Issue
Block a user