1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 18:44:35 +01:00
Commit Graph

67 Commits

Author SHA1 Message Date
Nikolay Kim
0589f2ee49 add server management commands 2017-12-27 12:58:32 -08:00
Nikolay Kim
da8aa8b988 use mio for accept loop 2017-12-27 11:22:27 -08:00
Nikolay Kim
3abd0db6b1 restore server start test 2017-12-26 20:07:31 -08:00
Nikolay Kim
29adc20581 rename module 2017-12-26 19:59:41 -08:00
Nikolay Kim
d3b7d2d6b3 allow to use application factory for test server 2017-12-26 16:47:55 -08:00
Nikolay Kim
f6510161b5 add simple TestServer for integrational tests cases 2017-12-26 16:35:00 -08:00
Nikolay Kim
13cbfc877d simplify server start method 2017-12-19 09:08:36 -08:00
Nikolay Kim
26af6040ff update tests 2017-12-18 13:26:43 -08:00
Nikolay Kim
27d92f3a23 refactor server bind and start process 2017-12-17 12:35:04 -08:00
Nikolay Kim
a8b2f1b821 update tests 2017-12-15 18:49:11 -08:00
Nikolay Kim
6b61041aec move tests 2017-12-13 11:16:26 -08:00
Nikolay Kim
d4187f682b various cleanups 2017-12-13 11:10:03 -08:00
Nikolay Kim
55204c829c update tests 2017-12-13 08:00:25 -08:00
Nikolay Kim
ab6efd2421 handle http connections in different threads 2017-12-12 17:21:00 -08:00
Nikolay Kim
e9aa67b75d http server accepts factory of HttpHandlers 2017-12-12 07:40:36 -08:00
Nikolay Kim
0f75d066f2 simplify Application creation; update url dispatch guide section 2017-12-11 14:16:29 -08:00
Nikolay Kim
b98ab2eebe use trait instead of pipeline 2017-12-09 04:33:40 -08:00
Nikolay Kim
b71ddf7b4c pass local addr to channel; use bitflags 2017-12-07 21:52:46 -08:00
Nikolay Kim
d595dd850e load cookies automatically 2017-12-07 18:00:20 -08:00
Nikolay Kim
dff7618f35 rearrange exports 2017-12-07 16:40:29 -08:00
Nikolay Kim
968f5d39d6 added external resources; refactor route recognizer 2017-12-07 16:22:26 -08:00
Nikolay Kim
0dd27bd224 added HttpRequest::url_for 2017-12-06 16:26:27 -08:00
Nikolay Kim
c63f058647 simplify application creation 2017-12-06 11:00:39 -08:00
Nikolay Kim
86d7290f9e update tests 2017-12-05 11:43:41 -08:00
Nikolay Kim
f5d6179a34 renamed Route::handler to Route::f, added Route::h to register Handler 2017-12-04 14:07:53 -08:00
Nikolay Kim
3bf3738e65 introduce route predicates 2017-12-04 13:32:05 -08:00
Nikolay Kim
3fcd5f6935 use http::Uri for uri parsing 2017-11-30 19:01:25 -08:00
Nikolay Kim
afeecea05f refactor reply handling 2017-11-28 19:49:17 -08:00
Nikolay Kim
b55d69b4c2 better handler result handling 2017-11-28 12:42:53 -08:00
Nikolay Kim
42716d3252 update tests 2017-11-26 22:59:04 -08:00
Nikolay Kim
0519056199 consistent naming 2017-11-26 22:31:29 -08:00
Nikolay Kim
fdafb0c848 simplify middleware api; fix examples 2017-11-26 21:47:33 -08:00
Nikolay Kim
5a3b6638a7 move state to request object 2017-11-26 21:18:38 -08:00
Nikolay Kim
eb7f48a1c6 include payload into request 2017-11-26 19:00:57 -08:00
Nikolay Kim
45ecb87eab allow middlware error result 2017-11-25 10:24:45 -08:00
Nikolay Kim
7569036dd4 refactor request pipeline 2017-11-24 22:15:52 -08:00
Nikolay Kim
40c1d3b711 refactor middlewares 2017-11-09 22:08:54 -08:00
Nikolay Kim
e558414867 add response content encoding 2017-11-08 16:44:46 -08:00
Nikolay Kim
4e216701c0 better handler function ergonimics 2017-10-29 21:39:59 -07:00
Nikolay Kim
8ab04b39df update tests; clippy warnings 2017-10-29 15:04:44 -07:00
Nikolay Kim
b2670c94f4 added HttpRequest::content_type(), query() method returns HashMap 2017-10-29 06:03:21 -07:00
Nikolay Kim
d93244aa4f Do not use as it can not parse some valid paths 2017-10-27 22:19:00 -07:00
Nikolay Kim
488fb256b4 add optional skeptic 2017-10-26 06:12:23 -07:00
Nikolay Kim
e8936fe081 update multipart tests 2017-10-22 22:23:38 -07:00
Nikolay Kim
f737a3eb3e different ports 2017-10-22 21:52:01 -07:00
Nikolay Kim
8c48fdb0fc fix test 2017-10-22 17:47:22 -07:00
Nikolay Kim
5699af9795 more tests 2017-10-22 17:33:24 -07:00
Nikolay Kim
26989f5591 server tests 2017-10-22 12:48:43 -07:00
Nikolay Kim
d555fcabfc update tests 2017-10-22 08:14:23 -07:00
Nikolay Kim
6a33b65f02 refactor server router 2017-10-21 18:54:24 -07:00