1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 09:42:40 +01:00
Commit Graph

2714 Commits

Author SHA1 Message Date
Akos Vandra
86af02156b add impl FromRequest for Either<A,B> (#618) 2018-12-10 19:02:05 +03:00
Nikolay Kim
9f4d48f7a1 update tests 2018-12-06 15:03:01 -08:00
Nikolay Kim
e9121025b7 convert to 2018 edition 2018-12-06 14:32:52 -08:00
Douman
ac9fc662c6 Bump version to 0.7.15 2018-12-05 18:27:06 +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
silwol
b1635bc0e6 Update some dependencies (#612)
* Update rand to 0.6

* Update parking_lot to 0.7

* Update env_logger to 0.6
2018-12-04 09:58:22 +03:00
Kelly Thomas Kline
08c7743bb8 Add set_mailbox_capacity() function 2018-12-02 08:40:09 +03:00
vemoo
68c5d6e6d6 impl From<Cow<'static, [u8]>> for Binary (#611)
impl `From` for `Cow<'static, [u8]>`  and `From<Cow<'static, str>>` for `Binary`
2018-12-02 08:32:55 +03:00
Nikolay Kim
c0f8bc9e90 fix ssl support 2018-11-30 16:04:33 -08:00
Nikolay Kim
5003c00efb use new Service and NewService traits 2018-11-30 11:57:57 -08:00
Nikolay Kim
d269904fbf add cause for nested errors 2018-11-28 09:10:13 -10:00
Nikolay Kim
06387fc778 display parse error for ws client errors 2018-11-28 09:02:31 -10:00
Nikolay Kim
617b8557e1
Merge pull request #9 from alishir/new-example
echo example with `impl Future`
2018-11-27 20:17:32 -10:00
Ali Shirvani
4028f6f6fd http crate removed, cargo fmt 2018-11-28 09:42:04 +03:30
Ali Shirvani
397804a786 echo example with impl Future 2018-11-28 09:15:08 +03:30
Nikolay Kim
756bf0af58
Merge pull request #5 from alishir/echo-example
Two other simple examples.
2018-11-25 20:50:17 -10:00
Nikolay Kim
f1bfdc7395 Merge branch 'master' of https://github.com/fafhrd91/actix-http 2018-11-25 20:14:58 -10:00
Nikolay Kim
9c038ee189 allow to use Uri for client request 2018-11-25 20:14:42 -10:00
Ali Shirvani
ca1b460924
comments aligned. 2018-11-25 05:48:33 +03:30
François
c386353337 decode reserved characters when extracting path with configuration (#577)
* decode reserved characters when extracting path with configuration

* remove useless clone

* add a method to get decoded parameter by name
2018-11-24 16:54:11 +03:00
Ali Shirvani
7a97de3a1e update readme. 2018-11-24 17:17:34 +03:30
Ali Shirvani
d5b2640342 add framed_hello.rs 2018-11-24 17:08:17 +03:30
Ali Shirvani
c3c2286e3a An other hello word example and update sample in README.md 2018-11-24 17:07:30 +03:30
Ali Shirvani
d5ca6e21e2 simple echo server. 2018-11-24 11:29:14 +03:30
Douman
9aab382ea8 Allow user to provide addr to custom resolver
We basically swaps Addr with Recipient to enable user to use custom resolver
2018-11-23 15:36:12 +03:00
Nikolay Kim
7ef6eab9af
Merge pull request #3 from alishir/examples
hello-world example added.
2018-11-22 19:24:50 -10:00
Ali Shirvani
41d68c87d9 hello-world example added. 2018-11-23 07:42:40 +03:30
Nikolay Kim
1a322966ff handle response errors 2018-11-21 07:49:24 -08:00
Douman
389cb13cd6 Export PathConfig and QueryConfig
Closes #597
2018-11-20 23:06:38 +03:00
Nikolay Kim
ab3e12f2b4 set server response version 2018-11-20 11:23:05 -08:00
Nikolay Kim
186d3d727a add kee-alive tests 2018-11-20 10:55:50 -08:00
Huston Bokinsky
6a93178479 Complete error helper functions. 2018-11-20 08:07:46 +03:00
Nikolay Kim
e1fc6dea84 restore execute method 2018-11-19 16:39:40 -08:00
Nikolay Kim
6b60c9e230 add debug impl for H1ServiceResult 2018-11-19 16:11:58 -08:00
Nikolay Kim
3901239128 unify requedt/response encoder 2018-11-19 14:57:12 -08:00
Nikolay Kim
1ca6b44bae add TestServer 2018-11-18 21:48:20 -08:00
Nikolay Kim
18fcddfd63 remove backtrace dep 2018-11-18 20:25:59 -08:00
Nikolay Kim
7d66430324 move url module to different crate 2018-11-18 20:08:43 -08:00
Nikolay Kim
22d4523c93 update actix-net 2018-11-18 18:31:44 -08:00
Nikolay Kim
7d3adaa6a8 replace message flags with ConnectionType 2018-11-18 18:17:38 -08:00
Nikolay Kim
adad203314 refactor encoder/decoder impl 2018-11-18 17:52:56 -08:00
Nikolay Kim
8fea1367c7 re-introduce Body type, use Body as default body type for Response 2018-11-18 13:48:42 -08:00
Nikolay Kim
7fed50bcae refactor response body management 2018-11-17 20:21:28 -08:00
Nikolay Kim
e73a97884a do not allow to set server response version 2018-11-17 09:03:35 -08:00
Nikolay Kim
f0bd4d868e simplify server response type 2018-11-17 08:56:40 -08:00
Nikolay Kim
3a4b16a6d5 use BodyLength for request and response body 2018-11-16 21:30:37 -08:00
Nikolay Kim
aa20e2670d refactor h1 dispatcher 2018-11-16 21:09:33 -08:00
Nikolay Kim
625469f0f4 refactor decoder 2018-11-16 19:28:07 -08:00
Nikolay Kim
3b7bc41418 use RequestHead for Request 2018-11-15 22:34:29 -08:00
Nikolay Kim
6d9733cdf7 define generic client Connection trait 2018-11-15 11:10:23 -08:00