Commit Graph

74 Commits

Author SHA1 Message Date
Nikolay Kim b686f39d0b complete impl for client request and response 2018-01-29 14:44:25 -08:00
Nikolay Kim 4abb769ee5 fix request json loader; mime_type() method 2018-01-25 21:50:28 -08:00
Alexander Andreev e1d9c3803b spelling check 2018-01-16 00:47:25 +03:00
Nikolay Kim 8348c830e2 no need for mut ref 2018-01-03 10:57:57 -08:00
Nikolay Kim ae084d1146 added helper future for reading request body 2018-01-03 09:23:58 -08:00
Nikolay Kim 70ea43b3c0 fix drain support for actor; make pattern more reusable 2018-01-02 23:43:17 -08:00
Nikolay Kim cc38b30f7b refactor http actor usage 2017-12-31 17:26:32 -08: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 491d43aa8c update tests 2017-12-29 11:49:36 -08:00
Nikolay Kim 093d0bae40 Param ctor is private 2017-12-27 19:19:28 -08:00
Nikolay Kim 6bb893deab use Params object for query 2017-12-27 19:02:29 -08:00
Nikolay Kim 743235b8fd add unit test helper 2017-12-26 19:48:02 -08:00
Nikolay Kim cf8c2ca95e refactor Handler trait, use mut self 2017-12-26 09:00:45 -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 1596f4db73 refactor url encoded body parsing 2017-12-19 14:03:01 -08:00
Nikolay Kim fa2a3bc55e make method private 2017-12-19 13:11:19 -08:00
Nikolay Kim db7bd962cb fix some doc strings 2017-12-19 11:46:11 -08:00
Nikolay Kim 2bad99b645 better query() method impl; update doc strings 2017-12-19 11:34:51 -08:00
Nikolay Kim 790793f8a1 refactor multipart stream creation 2017-12-19 09:51:28 -08:00
Nikolay Kim f3b853f224 refactor payload 2017-12-19 00:18:57 -08:00
Nikolay Kim ed8bd3d6a3 h1 cleanups 2017-12-15 22:49:48 -08:00
Nikolay Kim 106f43e874 better SharedBytes usage for h2 2017-12-14 20:48:31 -08:00
Nikolay Kim c37565cc4a various server optimizations 2017-12-14 19:34:31 -08:00
Nikolay Kim 96f598f2c4 various optimizations 2017-12-13 16:44:35 -08:00
Nikolay Kim 6b61041aec move tests 2017-12-13 11:16:26 -08:00
Nikolay Kim 55204c829c update tests 2017-12-13 08:00:25 -08:00
Nikolay Kim 2e83c5924d cleanup and optimize some code 2017-12-12 21:32:58 -08:00
Nikolay Kim 0388a464ba tests for NormalizePath 2017-12-09 13:25:06 -08:00
Nikolay Kim b98ab2eebe use trait instead of pipeline 2017-12-09 04:33:40 -08:00
Nikolay Kim 1293619096 set server settings to HttpHandler 2017-12-08 09:24:05 -08:00
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 dff7618f35 rearrange exports 2017-12-07 16:40:29 -08:00
Nikolay Kim 968f5d39d6 added external resources; refactor route recognizer 2017-12-07 16:22:26 -08:00
Nikolay Kim 4b03d03404 rearrange exports 2017-12-06 17:06:40 -08:00
Nikolay Kim 9ea0781aba fix test 2017-12-06 16:58:49 -08:00
Nikolay Kim 63502fa833 test for Router::has_route 2017-12-06 16:40:23 -08:00
Nikolay Kim 0dd27bd224 added HttpRequest::url_for 2017-12-06 16:26:27 -08:00
Nikolay Kim d7e65b6212 add ConnectionInfo tests 2017-12-05 21:41:30 -08:00
Nikolay Kim c3de32c3b3 added ConnectionInfo 2017-12-05 17:09:15 -08:00
Nikolay Kim d8b880e167 work on resource_path api 2017-12-05 13:31:06 -08:00
Nikolay Kim 61744b68a1 introduce custom FromRequest traint for conversion into Reply 2017-12-02 16:37:21 -08:00
Nikolay Kim 3fcd5f6935 use http::Uri for uri parsing 2017-11-30 19:01:25 -08:00
Nikolay Kim d2eae3d5b3 simplify Handler trait 2017-11-29 15:10:45 -08:00
Nikolay Kim 6f833798c7 refactor http actor handling 2017-11-29 10:31:24 -08:00
Nikolay Kim 45433f71e5 impl Default trait for HttpRequest 2017-11-26 22:20:28 -08:00
Nikolay Kim 8e80fed2af added urlencoded errors 2017-11-26 22:00:25 -08:00
Nikolay Kim fdafb0c848 simplify middleware api; fix examples 2017-11-26 21:47:33 -08:00