mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-27 09:12:57 +01:00
b0d2947a4a
* Add better support for receiving larger payloads This change enables the maximum frame size to be configured when receiving websocket frames. It also adds a new stream time that aggregates continuation frames together into their proper collected representation. It provides no mechanism yet for sending continuations. * actix-ws: Add continuation & size config to changelog * actix-ws: Add Debug, Eq to AggregatedMessage * actix-ws: Add a configurable maximum size to aggregated continuations * refactor: move aggregate types to own module * test: fix chat example * docs: update changelog --------- Co-authored-by: Rob Ede <robjtede@icloud.com>
631 B
631 B
Changelog
Unreleased
- Add
AggregatedMessage[Stream]
types. - Add
MessageStream::max_frame_size()
setter method. - Add
Session::continuation()
method. - The
Session::text()
method now receives animpl Into<ByteString>
, making broadcasting text messages more efficient. - Remove type parameters from
Session::{text, binary}()
methods, replacing with equivalentimpl Trait
parameters. - Reduce memory usage by
take
-ing (rather thansplit
-ing) the encoded buffer when yielding bytes in the response stream.
0.2.5
- Adopted into @actix org from https://git.asonix.dog/asonix/actix-actorless-websockets.