1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-09-08 20:58:26 +00:00
Commit graph

262 commits

Author SHA1 Message Date
Nikolay Kim
83bf852192 Fix logger request duration calculation 2018-04-02 11:09:24 -07:00
Roman Frołow
220cbe40e5 Add header for juniper example 2018-04-02 19:10:33 +02:00
Nikolay Kim
74d0656d27 update diesel example 2018-04-01 18:24:07 -07:00
Nikolay Kim
17c27ef42d HttpRequest::resource() returns current matched resource 2018-04-01 17:37:22 -07:00
Nikolay Kim
b2e771df2c use r2d2 for diesel example 2018-04-01 08:20:15 -07:00
Nikolay Kim
3ee228005d rename Application 2018-03-31 00:16:55 -07:00
Nikolay Kim
7a743fa6b5 update examples 2018-03-30 23:37:15 -07:00
Nikolay Kim
44e3df82f6 simplify http response construction; deprecate httpcodes 2018-03-30 23:07:33 -07:00
Nikolay Kim
8d8f6bedad update examples 2018-03-30 18:54:38 -07:00
Nikolay Kim
4358da9926 refactor WithHandler trait 2018-03-27 20:33:24 -07:00
Nikolay Kim
dcc5eb7ace pass request as value 2018-03-26 23:34:31 -07:00
Nikolay Kim
2f60a4b89d add handler with exatractor 2018-03-26 23:10:31 -07:00
Alexander Andreev
2d80c5053d spelling check 2018-03-24 09:35:52 +03:00
Nikolay Kim
6b1a79fab8 update example 2018-03-18 16:27:34 -07:00
h416
4effdf065b
fix typo 2018-03-16 19:03:16 +09:00
Nikolay Kim
fee1e255ac
add comments 2018-03-11 10:10:30 -07:00
Nikolay Kim
49e007ff2a move protobuf support to the example 2018-03-09 05:29:06 -08:00
Nikolay Kim
f3c63e631a add protobuf feature 2018-03-08 20:56:18 -08:00
kingxsp
a0b589eb96 Add protobuf support 2018-03-09 10:05:13 +08:00
Nikolay Kim
c8844425ad Enable compression support for NamedFile 2018-03-05 13:31:30 -08:00
Nikolay Kim
b282ec106e Add ResponseError impl for SendRequestError 2018-03-05 13:02:31 -08:00
Nikolay Kim
ea2a8f6908 add http proxy example 2018-03-05 11:12:19 -08:00
Nikolay Kim
2b942ec5f2 add uds example readme 2018-03-05 09:47:17 -08:00
messense
c2741054bb
Add unix domain socket example 2018-03-05 22:14:25 +08:00
Nikolay Kim
dbfa1f0ac8 fix example 2018-03-04 10:44:41 -08:00
Nikolay Kim
791a980e2d update tests 2018-03-02 22:08:56 -08:00
Nikolay Kim
3b2928a391 Better naming for websockets implementation 2018-03-02 11:29:55 -08:00
Roman Frołow
f27edbff89
be consistent with host - had CORS preflight once 2018-03-01 01:01:27 +01:00
Nikolay Kim
67f33a4760 add redis session example 2018-02-28 10:26:40 -08:00
pyros2097
1283c00583 add juniper example 2018-02-28 10:41:24 +05:30
Nikolay Kim
6c480fae90 added HttpRequest::encoding() method; fix urlencoded parsing with charset 2018-02-27 11:31:54 -08:00
Nikolay Kim
5dcb558f50 refactor websockets handling 2018-02-27 10:09:24 -08:00
Nikolay Kim
72aa2d9eae clippy warnings 2018-02-26 14:33:56 -08:00
Nikolay Kim
0a3b776aa7 refactor multipart stream 2018-02-26 06:00:54 +03:00
Nikolay Kim
a2b98b31e8 refactor payload related futures for HttpRequest 2018-02-25 20:34:26 +03:00
Nikolay Kim
ea8e8e75a2 fix websocket example 2018-02-24 08:41:58 +03:00
Nikolay Kim
0da382a7a4 use actix 0.5 release 2018-02-17 13:33:38 -08:00
Nikolay Kim
3e3d3279b8 deregister server socket on shutdown 2018-02-16 09:42:15 -08:00
Nikolay Kim
3c95823e53 add r2d2 example 2018-02-15 23:05:10 -08:00
Nikolay Kim
d31e71a169 update examples 2018-02-15 13:59:25 -08:00
Nikolay Kim
96b87761d1 update examples 2018-02-12 23:13:06 -08:00
Nikolay Kim
eb041de36d update examples 2018-02-12 19:15:39 -08:00
Nikolay Kim
7ccacb92ce update websocket-chat example 2018-02-12 17:42:10 -08:00
Nikolay Kim
8c1b5fa945 sync with latest actix 2018-02-12 12:17:30 -08:00
Nikolay Kim
2d049e4a9f update example 2018-02-09 22:46:34 -08:00
Nikolay Kim
728377a447 fix example 2018-02-08 20:55:34 -08:00
Nikolay Kim
6181a84d7b update websocket-chat example 2018-02-08 14:03:41 -08:00
Christopher Armstrong
bd03ba1192
Update most examples to use actix from git (#68) 2018-02-08 00:08:36 -06:00
Nikolay Kim
d568161852 update websocket-chat example 2018-02-03 08:25:31 -08:00
Nikolay Kim
2b74fbf586 fix websocket example 2018-01-31 13:18:30 -08:00
Nikolay Kim
5cbaf3a1b8 add client ssl support 2018-01-30 11:17:17 -08:00
Nikolay Kim
a02e0dfab6 initial work on client connector 2018-01-29 23:01:20 -08:00
Nikolay Kim
5cc3bba5cc change ws client names 2018-01-29 15:45:37 -08:00
Nikolay Kim
b6a394a113 added StaticFiles::inex_file config 2018-01-29 03:23:45 -08:00
Nikolay Kim
f3cce6a04c update websocket example 2018-01-28 09:07:12 -08:00
Nikolay Kim
9835a4537a update websocket example 2018-01-28 08:58:18 -08:00
Nikolay Kim
715ec4ae2f update actix 2018-01-28 08:26:36 -08:00
Nikolay Kim
55b2fb7f77 update example 2018-01-28 01:04:58 -08:00
Nikolay Kim
826fc62299 disable websocket-chat example 2018-01-27 22:44:50 -08:00
Nikolay Kim
5dd2e7523d basic websocket client 2018-01-27 22:03:03 -08:00
Alexander Andreev
881e0e0346 spelling check 2018-01-27 08:38:17 +03:00
Nikolay Kim
b9f8a00ba3 update cors example readme 2018-01-26 19:56:34 -08:00
Nikolay Kim
99bed67bec rename cors example 2018-01-26 19:52:20 -08:00
Nikolay Kim
52a454800f cleanup cors example 2018-01-26 19:51:13 -08:00
Nikolay Kim
b931dda1fe
Merge branch 'master' into master 2018-01-26 19:42:06 -08:00
krircc
74166b4834 add actix-web-cors example 2018-01-27 11:00:26 +08:00
Nikolay Kim
e8e2ca1526 refactor alpn support; upgrade openssl to 0.10 2018-01-25 10:24:04 -08:00
Nikolay Kim
9180625dfd refactor helper error types 2018-01-20 21:11:46 -08:00
Nikolay Kim
7cf221f767 Log request processing errors 2018-01-20 20:12:24 -08:00
Alexander Andreev
58df8fa4b9 spelling check 2018-01-16 21:59:33 +03:00
Nikolay Kim
e95c7dfc29 use local actix-web for examples 2018-01-13 19:04:07 -08:00
Nikolay Kim
927a92fcac impl HttpHandler for Box<HttpHandler> and add helper method Application::boxed() #49 2018-01-13 18:58:17 -08:00
Nikolay Kim
e482b88741 refactor http protocol selection procedure 2018-01-11 21:48:36 -08:00
Nikolay Kim
d85081b64e update websocket examples 2018-01-10 10:40:14 -08:00
ami44
41c94a1220 fix url 2018-01-08 19:10:47 +01:00
Nikolay Kim
c7798ef45d update examples 2018-01-07 19:40:42 -08:00
Ami44
3cf2fbbb23
Merge branch 'master' into master 2018-01-07 12:00:24 +01:00
Nikolay Kim
896981cdf8 update examples 2018-01-06 23:22:10 -08:00
ami44
665f4edf6b upd examples basics 2018-01-06 16:43:59 +01:00
Nikolay Kim
247c23c1ea no need for StreamHandler 2018-01-06 01:06:35 -08:00
Nikolay Kim
3ed9e872ad subscriber to os signals automatically 2018-01-05 16:32:36 -08:00
Nikolay Kim
5ae646332e update example to use actix 0.4 2018-01-05 14:01:19 -08:00
Nikolay Kim
5ff35f5b99 upgrade to actix 0.4 2018-01-05 13:30:21 -08:00
Nikolay Kim
1f7aee23df shutdown io streams before exit 2018-01-03 22:43:44 -08:00
Nikolay Kim
bf11bfed8e use explicit actix:: mod 2018-01-03 19:11:40 -08:00
Nikolay Kim
7af3b3f956 update example 2018-01-02 19:43:59 -08:00
Nikolay Kim
3a59344ffb update h2 lib 2018-01-02 19:37:33 -08:00
Nikolay Kim
3768a2885d fix examples 2018-01-02 15:52:11 -08:00
Nikolay Kim
fb2c78d9fc add hello-world example 2018-01-02 13:42:30 -08:00
Nikolay Kim
284b59722a update websocket example 2018-01-01 09:31:42 -08:00
ami44
fc88bb294a Merge remote-tracking branch 'upstream/master' 2018-01-01 12:22:03 +01:00
Nikolay Kim
d2f54b7d19 use workspace 2017-12-31 21:55:25 -08:00
Nikolay Kim
8e89ff1d1e fix examples 2017-12-31 20:08:35 -08:00
Nikolay Kim
cc38b30f7b refactor http actor usage 2017-12-31 17:26:32 -08:00
Nikolay Kim
967d3244d7 fix http/2 support 2017-12-31 13:22:11 -08:00
ami44
d8548ad83b update examples/diesel readme 2017-12-31 08:12:26 +01:00
ami44
7962d28a6d move examples/websocket.rs to examples/websocket 2017-12-30 21:47:39 +01:00
ami44
c998c75515 move examples/state.rs to examples/state 2017-12-30 21:08:54 +01:00
ami44
f1f5b23e77 fix readme examples/signal 2017-12-30 21:08:12 +01:00
ami44
76b03851e6 fix examples - disable signal if windows 2017-12-30 21:05:03 +01:00