mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-30 10:32:55 +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>
15 lines
631 B
Markdown
15 lines
631 B
Markdown
# Changelog
|
|
|
|
## Unreleased
|
|
|
|
- Add `AggregatedMessage[Stream]` types.
|
|
- Add `MessageStream::max_frame_size()` setter method.
|
|
- Add `Session::continuation()` method.
|
|
- The `Session::text()` method now receives an `impl Into<ByteString>`, making broadcasting text messages more efficient.
|
|
- Remove type parameters from `Session::{text, binary}()` methods, replacing with equivalent `impl Trait` parameters.
|
|
- Reduce memory usage by `take`-ing (rather than `split`-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>.
|