Commit Graph

28 Commits

Author SHA1 Message Date
Nikolay Kim d595dd850e load cookies automatically 2017-12-07 18:00:20 -08:00
Nikolay Kim 0abb3863dc simplify api 2017-12-07 17:38:18 -08:00
Nikolay Kim c63f058647 simplify application creation 2017-12-06 11:00:39 -08:00
Nikolay Kim d7e65b6212 add ConnectionInfo tests 2017-12-05 21:41:30 -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 57fd35ffc1 added default headers middleware 2017-12-03 20:47:15 -08:00
Nikolay Kim d8f27e95a6 added FromParam trait for path segment conversions, FramParam impl for PathBuf 2017-12-02 10:18:54 -08:00
Nikolay Kim 3fcd5f6935 use http::Uri for uri parsing 2017-11-30 19:01:25 -08:00
Nikolay Kim 6177d86d97 refactor handler rtype handling 2017-11-29 09:17:00 -08:00
Nikolay Kim 170d3163f3 better export naming 2017-11-26 22:53:28 -08:00
Nikolay Kim 0519056199 consistent naming 2017-11-26 22:31:29 -08:00
Nikolay Kim fdafb0c848 simplify middleware api; fix examples 2017-11-26 21:47:33 -08:00
Nikolay Kim eb7f48a1c6 include payload into request 2017-11-26 19:00:57 -08:00
Nikolay Kim 32483735ba cookie session implementation 2017-11-26 17:34:11 -08:00
Nikolay Kim 45ecb87eab allow middlware error result 2017-11-25 10:24:45 -08:00
Nikolay Kim 54bbc98343 cookie session prototype 2017-11-25 09:52:32 -08:00
Nikolay Kim f4972150cc better middleware error handling 2017-11-25 09:40:57 -08:00
Nikolay Kim 940bc08aba remove unused imports 2017-11-24 22:19:06 -08:00
Nikolay Kim 7569036dd4 refactor request pipeline 2017-11-24 22:15:52 -08:00
Nikolay Kim 5529ea0428 better logger format test 2017-11-23 16:53:02 -08:00
Nikolay Kim 39a20fb95d use env_logger for logger tests 2017-11-23 15:48:59 -08:00
Nikolay Kim 155a636487 more logger tests 2017-11-23 15:37:11 -08:00
Nikolay Kim e571587a8c refactor logger middleware 2017-11-23 15:17:16 -08:00
Nikolay Kim f2520d2d79 update logger doc 2017-11-10 13:34:16 -08:00
Nikolay Kim be3a1ab770 use remote addr in logger if available 2017-11-10 13:26:12 -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