Bernard Assan
df0885cf21
Add from_bytes/u8_bytes to dev::Payload ( #3595 )
...
* feat: Add from_bytes/u8_bytes to dev::Payload
This allows convinent construction of Payload from bytes which is
useful in middlewares
closes actix/actix-web#3589
Add doc comment and changelog entry
* implement from<bytes/vec> for payload
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-03-09 16:40:00 +00:00
Rob Ede
e0a88cea8d
remove unwindsafe assertions
2022-07-24 02:47:12 +01:00
Rob Ede
dce9438518
document with ws feature
2022-03-09 18:11:12 +00:00
Rob Ede
cd511affd5
add ws and http2 feature flags ( #2618 )
2022-01-31 21:22:23 +00:00
Rob Ede
50894e392e
document new body map types
2022-01-23 23:26:35 +00:00
Rob Ede
1296e07c48
relax unpin bounds on payload types ( #2545 )
2021-12-24 17:47:47 +00:00
Rob Ede
64c2e5e1cd
remove crate level clippy lint
2021-12-22 07:16:07 +00:00
Rob Ede
17f636a183
split request and response modules ( #2530 )
2021-12-19 17:05:27 +00:00
Rob Ede
551a0d973c
doc tweaks
2021-12-13 02:58:19 +00:00
Rob Ede
406f694095
standardize rustfmt max_width
2021-12-08 06:01:11 +00:00
Nikolay Kim
c1deaaeb2f
cleanup imports
2019-12-13 11:24:57 +06:00
Nikolay Kim
6c9f9fff73
clippy warnings
2019-12-08 00:46:51 +06:00
Nikolay Kim
4dc31aac93
use actix_rt::test for test setup
2019-11-26 11:25:50 +06:00
Nikolay Kim
8cba1170e6
make actix-http compile with std::future
2019-11-21 16:02:17 +06:00
Nikolay Kim
4f30fa9d46
Remove generic type for request payload, always use default
2019-04-13 14:50:54 -07:00
Nikolay Kim
c7ad677804
Merge actix-http project
2019-03-26 11:54:35 -07:00