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

216 Commits

Author SHA1 Message Date
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
ami44
87188e1505 minor fix examples/websocket-chat 2017-12-30 16:50:49 +01:00
ami44
df393df547 move example/basic.rs to examples/basic 2017-12-30 16:50:17 +01:00
ami44
a1dc5a6bd1 update examples/tls/README 2017-12-30 16:24:50 +01:00
ami44
8e580ef7b9 add README examples/template_tera 2017-12-30 16:10:29 +01:00
ami44
12345004dd add README examples/signals 2017-12-30 16:10:00 +01:00
ami44
a1a77600c6 add README example/multipart 2017-12-30 16:09:39 +01:00
ami44
d7d9e8c0e9 update json example 2017-12-30 16:08:18 +01:00
ami44
a166fc82f4 add json-rust example 2017-12-30 15:24:12 +01:00
Alban Minassian
2d769f805a add diesel+postgresql link 2017-12-30 12:21:34 +01:00
Nikolay Kim
538fea8027 add graceful shutdown system 2017-12-28 16:25:47 -08:00
Nikolay Kim
d80a0c9f94 add support for unix signals 2017-12-28 11:36:20 -08:00
Nikolay Kim
b714e1f4ce fix example 2017-12-27 19:29:04 -08:00
Nikolay Kim
29adc20581 rename module 2017-12-26 19:59:41 -08:00
Nikolay Kim
dd3a2aa68a add HttpServer::server_hostname method 2017-12-26 14:36:03 -08:00
Nikolay Kim
a578262f73 update json example and guide info 2017-12-25 08:12:13 -08:00
Nikolay Kim
9f9c75d832 simplify drain feature 2017-12-24 11:58:09 -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
bf23aa5d4b move db code to separate module 2017-12-20 17:44:19 -08:00
Nikolay Kim
3c5fd18e02 cleanup examples 2017-12-20 16:32:31 -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
e05596b65d upgrade actix min version 2017-12-20 11:37:27 -08:00
Nikolay Kim
009874125e add client.py comments 2017-12-19 10:25:23 -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
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
56fd088163 added database integration guide section 2017-12-18 19:38:16 -08:00
Nikolay Kim
1e1da5832f better name 2017-12-18 16:40:33 -08:00
Nikolay Kim
625c4ad0db add more comments 2017-12-18 16:30:35 -08:00
Nikolay Kim
fde94bfe95 added diesel example 2017-12-18 16:25:26 -08:00
Nikolay Kim
3e8a6c3988 add tera example 2017-12-18 13:41:52 -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
408ddf0be1 add ssl guide ref 2017-12-13 21:56:30 -08:00
Nikolay Kim
653b431895 fix example 2017-12-13 17:28:16 -08:00
Nikolay Kim
2e83c5924d cleanup and optimize some code 2017-12-12 21:32:58 -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