Nikolay Kim
fdb7419e24
use actix-web from master
2018-04-06 14:11:04 -07:00
Nikolay Kim
2dafd9c681
do not re-export HttpServer from server module
2018-04-06 08:40:11 -07:00
memoryruins
a0f1ff7eb3
Add src directory to main.rs and list on first codeblock.
2018-04-05 19:21:29 -04:00
memoryruins
9f45cfe492
Expand note about actix.
2018-04-05 19:12:23 -04:00
Nikolay Kim
3ee228005d
rename Application
2018-03-31 00:16:55 -07:00
Nikolay Kim
44e3df82f6
simplify http response construction; deprecate httpcodes
2018-03-30 23:07:33 -07:00
Benjamin Wasty
368103dd09
guide: improve wording & style
2018-03-28 22:16:01 +02:00
Nikolay Kim
b339ea0a3a
update versions in guide
2018-02-27 23:31:43 -08:00
Robert Collins
b28ecbcf0c
Update qs_2.md
2018-02-14 10:37:12 +13: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
edd26837dd
update dependency specs in user guide
2018-01-12 12:54:57 -08:00
Nikolay Kim
a159a9cd6e
cleanup doc tests
2018-01-09 10:08:06 -08:00
Nikolay Kim
3ed9e872ad
subscriber to os signals automatically
2018-01-05 16:32:36 -08:00
Nikolay Kim
89c9dfb5bc
update getting started guide section
2017-12-25 08:19:33 -08:00
Nikolay Kim
c47e2ccfee
update guide examples
2017-12-19 18:44:17 -08:00
Nikolay Kim
27d92f3a23
refactor server bind and start process
2017-12-17 12:35:04 -08:00
Nikolay Kim
b7cde3f4a9
update guide
2017-12-13 22:36:28 -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
a44f71d8c2
make ErrorBadRequest type useful
2017-12-08 15:25:37 -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
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
27035c9454
fixes
2017-11-29 14:22:47 -08:00
Nikolay Kim
afeecea05f
refactor reply handling
2017-11-28 19:49:17 -08:00
Nikolay Kim
6f5b58b691
more guide
2017-11-28 18:00:10 -08:00
Nikolay Kim
932e751240
add status code helper method for http response
2017-11-28 14:23:42 -08:00
Nikolay Kim
706e2a07de
add helper converters into response
2017-11-28 13:52:53 -08:00
Nikolay Kim
26413d1d61
add link to guide
2017-11-27 19:56:14 -08:00
Nikolay Kim
599f3c26e0
start working on guide
2017-11-27 16:41:37 -08:00