1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-25 16:32:43 +01:00
Commit Graph

2166 Commits

Author SHA1 Message Date
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
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
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
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
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
Nikolay Kim
acd42f92d8 remove debug print 2018-11-14 19:08:52 -08:00
Nikolay Kim
6e7560e287 SendResponse service sends body as well 2018-11-14 18:57:58 -08:00
Nikolay Kim
03ad9a3105 simplify client decoder 2018-11-14 10:52:40 -08:00
Nikolay Kim
6297fe0d41 refactor client response payload handling 2018-11-14 09:38:16 -08:00
Nikolay Kim
550c5f55b6 add simple http client 2018-11-13 22:59:00 -08:00
Nikolay Kim
537144f0b9 add http client connector service 2018-11-11 23:12:54 -08:00
Nikolay Kim
b25b083866 do not stop on keep-alive timer if sink is not completly flushed 2018-11-08 20:45:48 -08:00
Nikolay Kim
dea39030bc properly handle upgrade header if content-length header is set 2018-11-08 20:38:40 -08:00
Nikolay Kim
6a1d560f22 fix keep-alive timer reset 2018-11-08 09:30:53 -08:00
Nikolay Kim
f1587243c2 fix body decoding 2018-11-05 19:32:03 -08:00
Nikolay Kim
da82e24954 render error message as body 2018-10-30 11:55:17 -07:00
Nikolay Kim
79bcbb8a10 use error message 2018-10-30 11:50:30 -07:00
Nikolay Kim
148cf73003 allow to create response with error message 2018-10-30 11:46:44 -07:00