1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-26 19:41:12 +00:00
Commit graph

258 commits

Author SHA1 Message Date
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
Nikolay Kim
3e91b06241 fix static files 2017-12-08 12:29:28 -08:00
Nikolay Kim
2192d14eff added ServerSettings 2017-12-07 22:54:44 -08:00
Nikolay Kim
3f06439d3e update examples 2017-12-07 18:08:16 -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
c3de32c3b3 added ConnectionInfo 2017-12-05 17:09:15 -08:00
Nikolay Kim
d8b880e167 work on resource_path api 2017-12-05 13:31:06 -08:00
Nikolay Kim
fd6b243cd6 update examples 2017-12-04 16:32:31 -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
3bf3738e65 introduce route predicates 2017-12-04 13:32:05 -08:00
Nikolay Kim
7c6faaa8e0 add Item and Error to FromRequest trait 2017-12-03 14:22:04 -08:00
Nikolay Kim
1a5df7192e add multiple apps example 2017-12-01 23:32:15 -08:00
Nikolay Kim
6e138bf373 refactor streaming responses 2017-11-30 14:42:20 -08:00
Nikolay Kim
ffb2e3c0ab update examples 2017-11-29 14:03:18 -08:00
Nikolay Kim
16ceb741b8 refactor RouteHandler trait 2017-11-29 13:26:55 -08:00
Nikolay Kim
6f833798c7 refactor http actor handling 2017-11-29 10:31:24 -08:00
Nikolay Kim
afeecea05f refactor reply handling 2017-11-28 19:49:17 -08:00
Nikolay Kim
932e751240 add status code helper method for http response 2017-11-28 14:23:42 -08:00
Nikolay Kim
b55d69b4c2 better handler result handling 2017-11-28 12:42:53 -08:00
Nikolay Kim
ac3fe30d19 use git master for examples 2017-11-28 10:27:58 -08:00
Nikolay Kim
599f3c26e0 start working on guide 2017-11-27 16:41:37 -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
8e0a7f44d4 pass request by value 2017-11-26 20:34:20 -08:00
Nikolay Kim
eb7f48a1c6 include payload into request 2017-11-26 19:00:57 -08:00
Nikolay Kim
32483735ba cookie session implementation 2017-11-26 17:34:11 -08:00
Nikolay Kim
e571587a8c refactor logger middleware 2017-11-23 15:17:16 -08:00
Nikolay Kim
a87784ba15 use Result intead of HandlerResult 2017-11-18 06:50:07 -10:00
Nikolay Kim
de71ad7de4 refactor error handling 2017-11-15 20:06:28 -10:00
Nikolay Kim
c565965865 rename BinaryBody 2017-11-10 13:42:32 -08:00
Nikolay Kim
265628750c refactor logger middleware 2017-11-10 12:29:54 -08:00
Nikolay Kim
40c1d3b711 refactor middlewares 2017-11-09 22:08:54 -08:00
Nikolay Kim
519a9e64f8 cleanup tls example 2017-11-08 20:29:48 -08:00
Nikolay Kim
02fb424659 add custom Debug impl for HttpResponse 2017-11-08 19:31:25 -08:00
Nikolay Kim
e558414867 add response content encoding 2017-11-08 16:44:46 -08:00
Nikolay Kim
c2978a6eea add content encoding decompression 2017-11-06 01:27:46 -08:00
Nikolay Kim
d7d3d663e9 refactor server impl and add support for alpn http2 negotiation 2017-11-04 12:33:14 -07:00
Nikolay Kim
32cefb8455 implement h2 writer 2017-11-04 09:07:44 -07:00
Nikolay Kim
c14e6c9008 make possible to use async handler 2017-11-03 13:35:34 -07:00
Nikolay Kim
ec3b139273 Allow to start tls server with HttpServer::serve_tls 2017-11-01 16:34:58 -07:00
Nikolay Kim
58de9dcf56 added new cancel_future_on_stop 2017-10-30 14:49:20 -07:00
Nikolay Kim
4e216701c0 better handler function ergonimics 2017-10-29 21:39:59 -07:00
Nikolay Kim
dec4140733 added WsWriter::close 2017-10-29 19:49:59 -07:00
Nikolay Kim
fb0270e27d refactor Payload stream 2017-10-26 23:14:33 -07:00
Nikolay Kim
488fb256b4 add optional skeptic 2017-10-26 06:12:23 -07:00
Nikolay Kim
c435f16170 refactory response body 2017-10-23 23:25:32 -07:00
Nikolay Kim
bea8e4825d update websocket example 2017-10-23 18:42:15 -07:00
Nikolay Kim
203d0dd80f add stateful example 2017-10-23 11:48:06 -07:00
Nikolay Kim
ba504cc69e use actix 0.3 2017-10-23 10:05:07 -07:00
Nikolay Kim
f737a3eb3e different ports 2017-10-22 21:52:01 -07:00
Nikolay Kim
5699af9795 more tests 2017-10-22 17:33:24 -07:00
Nikolay Kim
f85925a652 refactor error handling 2017-10-22 09:13:29 -07:00
Nikolay Kim
afe9459ce1 pass request by ref; added middleware support 2017-10-21 22:59:59 -07:00
Nikolay Kim
7364e088be basic example 2017-10-21 19:35:50 -07:00
Nikolay Kim
6a33b65f02 refactor server router 2017-10-21 18:54:24 -07:00
Nikolay Kim
4560ca17b2 update actix; update examples 2017-10-21 15:21:16 -07:00
Nikolay Kim
0865071dd7 use threads for websocket example 2017-10-21 02:08:07 -07:00
Nikolay Kim
0bfe07b371 process inactive tasks 2017-10-20 23:12:36 -07:00
Nikolay Kim
71dc9edf8e add simple websocket example 2017-10-20 21:08:38 -07:00
Nikolay Kim
9fd84a0aef rename example 2017-10-20 20:45:30 -07:00
Nikolay Kim
56c91adce2 add websocket example 2017-10-20 17:16:17 -07:00
Nikolay Kim
24804250a8 update multipart impl 2017-10-19 16:22:21 -07:00
Nikolay Kim
aaef550bc5 multipart implementation 2017-10-18 23:43:50 -07:00