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

204 Commits

Author SHA1 Message Date
Nikolay Kim
f0fdcc9936 handle application prefix for handlers; use handler for StaticFiles 2018-01-02 15:23:31 -08:00
Nikolay Kim
cc38b30f7b refactor http actor usage 2017-12-31 17:26:32 -08:00
ami44
73e2773a10 minor fix guide/ 2017-12-30 21:13:23 +01:00
Nikolay Kim
6ea894547d better application handling, fix url_for method for routes with prefix 2017-12-29 14:04:13 -08:00
Nikolay Kim
538fea8027 add graceful shutdown system 2017-12-28 16:25:47 -08:00
Nikolay Kim
d8b0ce88a5 fix guide example 2017-12-28 12:27:46 -08:00
Nikolay Kim
6bb893deab use Params object for query 2017-12-27 19:02:29 -08:00
Nikolay Kim
556de72932 add server spawn method 2017-12-27 17:49:10 -08:00
Nikolay Kim
5df5cc7374 fix guide example 2017-12-26 21:33:23 -08:00
Nikolay Kim
0d21c2da22 various typos 2017-12-26 21:07:51 -08:00
Nikolay Kim
183bcd38f8 modify unused_addr method; update websockt guide section 2017-12-26 20:52:21 -08:00
Nikolay Kim
29adc20581 rename module 2017-12-26 19:59:41 -08:00
Nikolay Kim
743235b8fd add unit test helper 2017-12-26 19:48:02 -08:00
Nikolay Kim
7f77ba557d add testing section to guide 2017-12-26 17:14:37 -08:00
Nikolay Kim
5e17a846af add notes on sync primitives 2017-12-26 11:19:08 -08:00
Nikolay Kim
e4bfef9d26 fix tests 2017-12-26 09:28:24 -08:00
Nikolay Kim
cf8c2ca95e refactor Handler trait, use mut self 2017-12-26 09:00:45 -08:00
Nikolay Kim
b61a07a320 more info for middleware guide 2017-12-26 07:58:21 -08:00
Nikolay Kim
89c9dfb5bc update getting started guide section 2017-12-25 08:19:33 -08:00
Nikolay Kim
a578262f73 update json example and guide info 2017-12-25 08:12:13 -08:00
Nikolay Kim
0567e6fb0a fix typos in guide 2017-12-20 23:27:30 -08:00
Nikolay Kim
55534bff8c simplify guide examples 2017-12-20 23:21:26 -08:00
Nikolay Kim
bca1dd4f9e update doc strings 2017-12-20 23:19:21 -08:00
Nikolay Kim
0a68811dce cleanup more examples 2017-12-20 21:06:04 -08:00
Nikolay Kim
63ddc07ccb added JsonBody future 2017-12-20 20:30:54 -08:00
Nikolay Kim
4dd3382ac7 update example 2017-12-20 16:13:21 -08:00
Nikolay Kim
50891986bc simplify json example 2017-12-20 16:05:07 -08:00
Nikolay Kim
df2aa42dad cleanup example 2017-12-20 15:45:26 -08:00
Nikolay Kim
cbb81bc747 json request example 2017-12-20 15:12:43 -08:00
Nikolay Kim
79f047f5be remove box from predicates 2017-12-20 13:23:50 -08:00
Nikolay Kim
813b56ebe5 make async handler future more generic 2017-12-20 12:51:39 -08:00
Nikolay Kim
7fc7d6e17a update guide 2017-12-19 22:36:06 -08:00
Nikolay Kim
c47e2ccfee update guide examples 2017-12-19 18:44:17 -08:00
Nikolay Kim
d0c01c2cdd update guide example 2017-12-19 18:38:02 -08:00
Nikolay Kim
50b2f62c80 update guide section about ssl 2017-12-19 18:36:29 -08:00
Nikolay Kim
64d867d9a1 update session guide section 2017-12-19 15:44:25 -08:00
Nikolay Kim
1596f4db73 refactor url encoded body parsing 2017-12-19 14:03:01 -08:00
Nikolay Kim
2bad99b645 better query() method impl; update doc strings 2017-12-19 11:34:51 -08:00
Nikolay Kim
2e790dfcc6 add multipart guide section 2017-12-19 10:10:03 -08:00
Nikolay Kim
e3f9345420 multipart field is stream of bytes 2017-12-19 09:55:49 -08:00
Nikolay Kim
790793f8a1 refactor multipart stream creation 2017-12-19 09:51:28 -08:00
Nikolay Kim
13cbfc877d simplify server start method 2017-12-19 09:08:36 -08:00
Nikolay Kim
4f6145e5c7 fix typos 2017-12-19 00:29:25 -08:00
Nikolay Kim
f3b853f224 refactor payload 2017-12-19 00:18:57 -08:00
Nikolay Kim
64dc6c5771 fix typos 2017-12-18 20:03:42 -08:00
Nikolay Kim
669975df75 fix typos 2017-12-18 20:00:57 -08:00
Nikolay Kim
56fd088163 added database integration guide section 2017-12-18 19:38:16 -08:00
Nikolay Kim
2124730e0a guide update 2017-12-18 18:56:58 -08:00
Nikolay Kim
9ed4159c0c update examples 2017-12-18 13:06:41 -08:00
Nikolay Kim
27d92f3a23 refactor server bind and start process 2017-12-17 12:35:04 -08:00
Nikolay Kim
a2dff8a0b9 update readme 2017-12-14 20:12:28 -08:00
Nikolay Kim
c98d320f8c rename FromRequest trait to Responder 2017-12-14 09:43:42 -08:00
Nikolay Kim
b7cde3f4a9 update guide 2017-12-13 22:36:28 -08:00
Nikolay Kim
408ddf0be1 add ssl guide ref 2017-12-13 21:56:30 -08:00
Nikolay Kim
406ef20262 add readme 2017-12-13 21:44:16 -08:00
Nikolay Kim
c2751efa87 refactor keep-alive; update guide 2017-12-13 21:38:47 -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
d7efbb516d fix guide tests 2017-12-11 19:16:45 -08:00
Nikolay Kim
6e3f598c50 fix guide page 2017-12-11 16:50:51 -08:00
Nikolay Kim
007b7ce62f unify route not found handling 2017-12-11 16:26:51 -08:00
Nikolay Kim
96381f5d6a fix doc 2017-12-11 14:27:09 -08:00
Nikolay Kim
0f75d066f2 simplify Application creation; update url dispatch guide section 2017-12-11 14:16:29 -08:00
Nikolay Kim
caca907c23 update guide 2017-12-09 14:06:22 -08:00
Nikolay Kim
c5490a851c add guid for path normalization 2017-12-09 13:58:24 -08:00
Nikolay Kim
a44f71d8c2 make ErrorBadRequest type useful 2017-12-08 15:25:37 -08:00
Nikolay Kim
3e91b06241 fix static files 2017-12-08 12:29:28 -08:00
Nikolay Kim
dff7618f35 rearrange exports 2017-12-07 16:40:29 -08:00
Nikolay Kim
c63f058647 simplify application creation 2017-12-06 11:00:39 -08:00
Nikolay Kim
87c7441f7d remove Applicaiton::route, resource is enough 2017-12-06 08:03:08 -08:00
Nikolay Kim
3c9b6ea619 update guide 2017-12-04 20:38:38 -08:00
Nikolay Kim
2950c90c77 doc fixes 2017-12-04 16:26:40 -08:00
Nikolay Kim
f4e9fc7b6a rename async to a 2017-12-04 16:09:22 -08:00
Nikolay Kim
e332c1242f use Route for Applicaiton handlers 2017-12-04 14:53:40 -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
03f7d95d88 fix fmratting 2017-12-04 13:36:28 -08:00
Nikolay Kim
3bf3738e65 introduce route predicates 2017-12-04 13:32:05 -08:00
Nikolay Kim
57fd35ffc1 added default headers middleware 2017-12-03 20:47:15 -08:00
Nikolay Kim
d35be02587 cleanup 2017-12-03 20:09:46 -08:00
Nikolay Kim
57c53bd2a0 add encoding section 2017-12-03 18:58:15 -08:00
Nikolay Kim
319e9bbd05 added Json response support 2017-12-03 18:51:52 -08:00
Nikolay Kim
5decff9154 added fs tests 2017-12-03 18:15:09 -08:00
Nikolay Kim
7c6faaa8e0 add Item and Error to FromRequest trait 2017-12-03 14:22:04 -08:00
Nikolay Kim
d0b9d9c1d6 content-encoding; try cargo tarpaulin 2017-12-02 11:41:20 -08:00
Nikolay Kim
d8f27e95a6 added FromParam trait for path segment conversions, FramParam impl for PathBuf 2017-12-02 10:18:54 -08:00
Nikolay Kim
d03d1207a8 add http2 section 2017-12-02 00:36:50 -08:00
Nikolay Kim
8f33dec026 add logging doc section 2017-12-02 00:24:26 -08:00
Nikolay Kim
0dae109172 missing files 2017-12-01 23:42:21 -08:00
Nikolay Kim
1a5df7192e add multiple apps example 2017-12-01 23:32:15 -08:00
Nikolay Kim
3ffd36eee2 some more guide 2017-12-01 23:06:15 -08:00
Nikolay Kim
c3a0a4457a add appl builder async method; add async handler section 2017-12-01 21:58:19 -08:00
Nikolay Kim
e6feec62a8 simplier examples 2017-12-01 21:31:38 -08:00
Nikolay Kim
f0c346f18c handler info 2017-12-01 21:29:22 -08:00
Nikolay Kim
6e138bf373 refactor streaming responses 2017-11-30 14:42:20 -08:00
Nikolay Kim
d2eae3d5b3 simplify Handler trait 2017-11-29 15:10:45 -08:00
Nikolay Kim
27035c9454 fixes 2017-11-29 14:22:47 -08:00
Nikolay Kim
afeecea05f refactor reply handling 2017-11-28 19:49:17 -08:00
Nikolay Kim
6f5b58b691 more guide 2017-11-28 18:00:10 -08:00
Nikolay Kim
932e751240 add status code helper method for http response 2017-11-28 14:23:42 -08:00
Nikolay Kim
706e2a07de add helper converters into response 2017-11-28 13:52:53 -08:00
Nikolay Kim
a3022e6d88 some overview text for guide 2017-11-28 12:44:59 -08:00
Nikolay Kim
91cefa8e2f use precompiled mdbook 2017-11-28 09:40:22 -08:00
Nikolay Kim
26413d1d61 add link to guide 2017-11-27 19:56:14 -08:00
Nikolay Kim
599f3c26e0 start working on guide 2017-11-27 16:41:37 -08:00