Commit Graph

23 Commits

Author SHA1 Message Date
Nikolay Kim 27d92f3a23 refactor server bind and start process 2017-12-17 12:35:04 -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 3e91b06241 fix static files 2017-12-08 12:29:28 -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 e332c1242f use Route for Applicaiton handlers 2017-12-04 14:53:40 -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 7c6faaa8e0 add Item and Error to FromRequest trait 2017-12-03 14:22:04 -08:00
Nikolay Kim 6e138bf373 refactor streaming responses 2017-11-30 14:42:20 -08:00
Nikolay Kim 16ceb741b8 refactor RouteHandler trait 2017-11-29 13:26:55 -08:00
Nikolay Kim 6f833798c7 refactor http actor handling 2017-11-29 10:31:24 -08:00
Nikolay Kim afeecea05f refactor reply handling 2017-11-28 19:49:17 -08:00
Nikolay Kim 8e0a7f44d4 pass request by value 2017-11-26 20:34:20 -08:00
Nikolay Kim eb7f48a1c6 include payload into request 2017-11-26 19:00:57 -08:00
Nikolay Kim 265628750c refactor logger middleware 2017-11-10 12:29:54 -08:00
Nikolay Kim 40c1d3b711 refactor middlewares 2017-11-09 22:08:54 -08:00
Nikolay Kim dec4140733 added WsWriter::close 2017-10-29 19:49:59 -07:00
Nikolay Kim bea8e4825d update websocket example 2017-10-23 18:42:15 -07:00
Nikolay Kim 5699af9795 more tests 2017-10-22 17:33:24 -07:00
Nikolay Kim f85925a652 refactor error handling 2017-10-22 09:13:29 -07:00
Nikolay Kim afe9459ce1 pass request by ref; added middleware support 2017-10-21 22:59:59 -07:00