1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-11 10:46:38 +00:00
Commit graph

211 commits

Author SHA1 Message Date
Nikolay Kim
8fff2c7595 remove Path and Query from public api 2018-03-26 18:18:38 -07:00
Alexander Andreev
2d80c5053d spelling check 2018-03-24 09:35:52 +03:00
Nikolay Kim
1107fdec9d fix guide 2018-03-21 21:02:57 -07:00
Nikolay Kim
04515e4697 update guide 2018-03-21 21:02:04 -07:00
Nikolay Kim
a4c933e56e update doc string 2018-03-11 09:36:54 -07:00
Nikolay Kim
9ddf5a3550 better doc string for Either 2018-03-11 09:28:22 -07:00
Nikolay Kim
ac9eba8261 add api doc for Either 2018-03-10 10:12:44 -08:00
messense
9a404a0c03
Impl From<usize> and From<Option<usize>> for KeepAlive 2018-03-10 17:52:50 +08:00
Nikolay Kim
3dd8fdf450 fix guide 2018-03-09 21:40:51 -08:00
Nikolay Kim
7eb310f8ce fix guide 2018-03-06 00:44:45 -08:00
flip111
5b530f11b5
Update qs_14.md
fix missing semicolon
2018-03-06 01:46:16 +01:00
flip111
67f5a949a4
Update qs_14.md
fix syntax error on use statement
2018-03-06 01:35:41 +01:00
Nikolay Kim
3b2928a391 Better naming for websockets implementation 2018-03-02 11:29:55 -08:00
Nikolay Kim
206c4e581a rename httpcodes 2018-03-01 19:12:59 -08:00
Nikolay Kim
4e13505b92 rename .p to a .filter 2018-03-01 18:42:50 -08:00
Nikolay Kim
b339ea0a3a update versions in guide 2018-02-27 23:31:43 -08:00
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
0ab8bc11f3 fix guide example 2018-02-26 16:41:57 -08:00
Nikolay Kim
d6fd4a3524 use buffer capacity; remove unused imports 2018-02-26 15:34:25 -08:00
Nikolay Kim
56ae565688 fix guide examples 2018-02-26 08:02:58 -08:00
Nikolay Kim
a2b98b31e8 refactor payload related futures for HttpRequest 2018-02-25 20:34:26 +03:00
pyros2097
3a3657cfaf
Update qs_9.md 2018-02-23 12:39:19 +05:30
Nikolay Kim
4a07430e8e remove RegexSet mention 2018-02-21 22:04:59 -08:00
Nikolay Kim
9a076c69d1 update route matching guide section 2018-02-21 22:00:22 -08:00
Roman Frołow
6a01af32bc
could used -> could be used, latest actix sync 2018-02-21 18:59:00 +01:00
Nikolay Kim
7198dde465 add logger info 2018-02-20 12:49:42 -08:00
Nikolay Kim
548f4e4d62 replace reqwest with actix::client 2018-02-19 13:18:18 -08:00
Nikolay Kim
edd114f6e4 allow to set default content encoding on application level 2018-02-18 22:23:17 -08:00
Nikolay Kim
0da382a7a4 use actix 0.5 release 2018-02-17 13:33:38 -08:00
Nikolay Kim
8bce3b9d10
Merge branch 'master' into patch-1 2018-02-13 14:57:59 -08:00
Robert Collins
b28ecbcf0c
Update qs_2.md 2018-02-14 10:37:12 +13:00
Nikolay Kim
b1eec3131f use newer api 2018-02-12 22:56:47 -08:00
Robert Collins
57655d8153
Use AtomicUsize properly
doing a read+write on an atomic int will lose updates from other threads.
2018-02-13 13:47:59 +13:00
Nikolay Kim
335ca8ff33 use new actix api 2018-02-12 16:08:04 -08:00
Robert Collins
232aba2080
Wait for spawned thread
A spawned thread doesn't block the main thread exiting unless explicitly joined.
The demo as written in the guide simply exits immediately at the moment.
2018-02-12 23:52:03 +13:00
Nikolay Kim
94c4053cb5 more HttpServer type simplification 2018-02-10 11:01:54 -08:00
Nikolay Kim
3109f9be62 special handling for upgraded pipeline 2018-02-10 00:05:20 -08:00
Nikolay Kim
2d049e4a9f update example 2018-02-09 22:46:34 -08:00
Nikolay Kim
577f91206c added support for websocket testing 2018-01-30 15:13:33 -08:00
Nikolay Kim
b6a394a113 added StaticFiles::inex_file config 2018-01-29 03:23:45 -08:00
Nikolay Kim
e8e2ca1526 refactor alpn support; upgrade openssl to 0.10 2018-01-25 10:24:04 -08:00
Nikolay Kim
fb76c490c6 mention tokio handle in guide 2018-01-22 20:10:05 -08:00
Nikolay Kim
7bb7adf89c relax InternalError constraints 2018-01-20 22:02:42 -08:00
Nikolay Kim
f55ff24925 fix guide example 2018-01-20 21:40:18 -08:00
Nikolay Kim
552320bae2 add error logging guide section 2018-01-20 20:21:01 -08:00
Nikolay Kim
bc6bb9984f user guide spelling 2018-01-13 11:17:48 -08:00
Nikolay Kim
edd26837dd update dependency specs in user guide 2018-01-12 12:54:57 -08:00
Nikolay Kim
8a058efb4e move server protocol impl to submodule 2018-01-11 18:35:05 -08:00
Nikolay Kim
4b72a1b325 create custom WebsocketContext for websocket connection 2018-01-10 10:12:34 -08:00
Nikolay Kim
ce78f17a79 refactor Middleware trait, use Result 2018-01-09 22:48:35 -08:00
Nikolay Kim
a159a9cd6e cleanup doc tests 2018-01-09 10:08:06 -08: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
5ff35f5b99 upgrade to actix 0.4 2018-01-05 13:30:21 -08:00
Nikolay Kim
dea354d6d8 fix basic example in guide 2018-01-04 16:21:18 -08:00
Nikolay Kim
bf11bfed8e use explicit actix:: mod 2018-01-03 19:11:40 -08:00
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