1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
asonix
b0d2947a4a
Add better support for receiving larger payloads (#430)
* 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>
2024-07-20 06:09:30 +00:00
Rob Ede
52e58610e4
chore: share repo and website 2024-06-20 02:18:37 +01:00
Rob Ede
023158cfa8
chore: move lints to manifest 2024-06-20 02:14:35 +01:00
Rob Ede
14c605fae2
docs: indicative mood 2024-06-20 02:10:19 +01:00
Rob Ede
7e21fd753e
docs: clean up ws examples 2024-06-20 01:55:14 +01:00
Rob Ede
e7ee2a06ab
docs: split chat example 2024-06-20 01:37:37 +01:00
asonix
8195484415
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>
2024-06-09 05:06:24 +00:00
Rob Ede
3ae4ef2706
docs: remove unnecessary code block annotations 2024-06-09 05:18:43 +01:00
asonix
6b04450703
Enable sending Continuations from actix-ws (#431)
* Enable sending continuations from an actix-ws Session

* actix-ws: Allow sending continuations from Session

* Convert ignored doctests to no_run doctests

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-05-13 16:49:34 +00:00
Rob Ede
39291c86b7
test: fix doc test 2024-03-02 21:46:36 +00:00
Rob Ede
db2193b8c5
chore: bump futures-* deps 2024-03-02 21:29:40 +00:00
Rob Ede
320cbebc7e
chore: fmt markdowns 2024-01-06 21:08:09 +00:00
Rob Ede
e2bf504055
feat(session): use real async traits (#365) 2024-01-04 04:10:46 +00:00
Rob Ede
6d0ab96dfd
adopt actix-ws crate (#361) 2023-11-03 22:49:18 +00:00