1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-08-02 02:35:04 +00:00
Commit graph

96 commits

Author SHA1 Message Date
Nikolay Kim d3e807f6e9 move Payload to inner http request 2019-05-22 11:49:27 -07:00
Nikolay Kim df08baf67f update actix-net dependencies 2019-05-12 08:34:51 -07:00
Nikolay Kim fa78da8156 unify route and app data, it allows to provide global extractor config #775 2019-05-04 19:43:49 -07:00
Nikolay Kim 48bee55087 .to_async() handler can return Responder type #792 2019-04-22 14:22:08 -07:00
Nikolay Kim 4f30fa9d46 Remove generic type for request payload, always use default 2019-04-13 14:50:54 -07:00
Nikolay Kim aa78565453 use objects pool for HttpRequest; optimize nested services call 2019-04-07 23:06:21 -07:00
Nikolay Kim 75b213a6f0 refactor FromRequest trait 2019-04-07 14:43:07 -07:00
Nikolay Kim d8bc66a18e Use thread pool for response body comression 2019-04-04 13:17:55 -07:00
Nikolay Kim 4d96abb639 use actix_web::Error for middleware errors 2019-03-10 16:35:38 -07:00
Nikolay Kim fde55ffa14 revert generic request parameter for service; support ServerConfig as new factory config 2019-03-09 09:49:11 -08:00
Nikolay Kim 22708e78a9 added proc-macros for route registration 2019-03-07 11:09:42 -08:00
Nikolay Kim 03248028a9 update actix-service 2019-03-05 10:08:08 -08:00
Nikolay Kim e50d4c5e0e rename extractor module to extract, re-enable doc tests 2019-03-03 13:53:31 -08:00
Nikolay Kim 6df85e32df added extractor configuration system 2019-03-03 00:57:48 -08:00
Nikolay Kim 8103d33270 use custom request for FromRequest trait 2019-03-02 19:19:56 -08:00
Nikolay Kim 75fbb97480 update new transform trait 2019-03-02 13:57:00 -08:00
Nikolay Kim 2d7293aaf8 copy actix-web2 2019-03-01 22:51:32 -08:00
Akos Vandra 86af02156b add impl FromRequest for Either<A,B> (#618) 2018-12-10 19:02:05 +03:00
Douman 0745a1a9f8 Remove usage of upcoming keyword async
AsyncResult::async is replaced with AsyncResult::future
2018-12-05 18:23:04 +03:00
Nikolay Kim fdfadb52e1 fix doc test for State 2018-10-01 22:29:30 -07:00
Nikolay Kim 127af92541 clippy warnings 2018-10-01 21:16:56 -07:00
Nikolay Kim 1716380f08 clippy fmt 2018-08-23 09:48:01 -07:00
Nikolay Kim cc3fbd27e0 better ergonomics 2018-08-09 17:25:23 -07:00
Nikolay Kim 4862227df9 fix not implemented panic #410 2018-07-21 05:58:08 -07:00
Nikolay Kim da915972c0 refactor router 2018-07-15 16:25:56 +06:00
Nikolay Kim b8b90d9ec9 rename ResourceHandler to Resource 2018-07-12 15:30:01 +06:00
Nikolay Kim 6fd686ef98 cleanup warnings 2018-07-04 21:01:27 +06:00
Nikolay Kim fec6047ddc refactor HttpRequest mutability 2018-07-02 23:35:32 +06:00
Nikolay Kim 3de9284592 Handler::handle uses &self instead of mutabble reference 2018-06-21 17:07:54 +06:00
Josh Leeb-du Toit c5e8c1b710 Propagate default resources to underlying scopes 2018-06-21 18:17:27 +10:00
David McNeil 0d54b6f38e Implement Responder for Option #294 (#297) 2018-06-11 14:05:41 +03:00
Pascal Hertleif 890a7e70d6 Add missing API docs
These were written without much knowledge of the actix-web internals!
Please review carefully!
2018-06-02 15:52:50 +02:00
Nikolay Kim 3f5a39a5b7 cargo fmt 2018-06-01 09:37:14 -07:00
Nikolay Kim 45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -07:00
Nikolay Kim 487a713ca0 update doc string 2018-05-11 15:01:15 -07:00
Nikolay Kim f37880d89c refactor Responder trait 2018-05-04 11:44:22 -07:00
Nikolay Kim acd7380865 rename Reply to a AsyncResult 2018-05-03 16:22:08 -07:00
Nikolay Kim 58079b5bbe add session test 2018-05-02 19:11:44 -07:00
Nikolay Kim 3623383e83 fix tests 2018-05-02 16:48:42 -07:00
Nikolay Kim 7036656ae4 make Reply generic over error too 2018-05-02 16:33:29 -07:00
Nikolay Kim 1aadfee6f7 rename from_default to extract 2018-05-02 06:09:50 -07:00
Nikolay Kim 76b644365f use read only ref for FromRequest; remove unnecessary static 2018-05-02 06:07:30 -07:00
Nikolay Kim a1958deaae add impl Future for Reply 2018-05-01 17:30:06 -07:00
Nikolay Kim 8d65468c58 refactor FromRequest trait 2018-05-01 17:19:15 -07:00
Nikolay Kim c72d1381a6 clippy warnings 2018-04-29 09:09:08 -07:00
Nikolay Kim de49796fd1 clippy warnings; fmt 2018-04-28 22:55:47 -07:00
Nikolay Kim 113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Douman 62a9b4c53c Rename HttpRequest::without_state into drop_state and make it public 2018-04-11 22:41:06 +03:00
Nikolay Kim df21892b5b added extractor configuration 2018-04-03 22:06:18 -07:00
Nikolay Kim d292c5023f add String and Bytes extractor 2018-04-02 16:19:18 -07:00