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
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
669975df75
fix typos
2017-12-18 20:00:57 -08:00
Nikolay Kim
56fd088163
added database integration guide section
2017-12-18 19:38:16 -08:00
Nikolay Kim
2124730e0a
guide update
2017-12-18 18:56:58 -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
a2dff8a0b9
update readme
2017-12-14 20:12:28 -08:00
Nikolay Kim
c98d320f8c
rename FromRequest trait to Responder
2017-12-14 09:43:42 -08:00
Nikolay Kim
b7cde3f4a9
update guide
2017-12-13 22:36:28 -08:00
Nikolay Kim
408ddf0be1
add ssl guide ref
2017-12-13 21:56:30 -08:00
Nikolay Kim
406ef20262
add readme
2017-12-13 21:44:16 -08:00
Nikolay Kim
c2751efa87
refactor keep-alive; update guide
2017-12-13 21:38:47 -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
d7efbb516d
fix guide tests
2017-12-11 19:16:45 -08:00
Nikolay Kim
6e3f598c50
fix guide page
2017-12-11 16:50:51 -08:00
Nikolay Kim
007b7ce62f
unify route not found handling
2017-12-11 16:26:51 -08:00
Nikolay Kim
96381f5d6a
fix doc
2017-12-11 14:27:09 -08:00
Nikolay Kim
0f75d066f2
simplify Application creation; update url dispatch guide section
2017-12-11 14:16:29 -08:00
Nikolay Kim
caca907c23
update guide
2017-12-09 14:06:22 -08:00
Nikolay Kim
c5490a851c
add guid for path normalization
2017-12-09 13:58:24 -08:00