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