Commit Graph

146 Commits

Author SHA1 Message Date
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