Commit Graph

42 Commits

Author SHA1 Message Date
Nikolay Kim 8d65468c58 refactor FromRequest trait 2018-05-01 17:19:15 -07:00
Nikolay Kim c72d1381a6 clippy warnings 2018-04-29 09:09:08 -07:00
Nikolay Kim de49796fd1 clippy warnings; fmt 2018-04-28 22:55:47 -07:00
Nikolay Kim 113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Douman 62a9b4c53c Rename HttpRequest::without_state into drop_state and make it public 2018-04-11 22:41:06 +03:00
Nikolay Kim df21892b5b added extractor configuration 2018-04-03 22:06:18 -07:00
Nikolay Kim 17c27ef42d HttpRequest::resource() returns current matched resource 2018-04-01 17:37:22 -07: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
Nikolay Kim f5636f321b drop deprecated code 2018-03-29 11:06:44 -07:00
Nikolay Kim d14991ec96 update doc strings 2018-03-28 21:49:50 -07:00
Nikolay Kim 65700281e8 add support for multiple extractors 2018-03-28 14:24:32 -07:00
Nikolay Kim 8198f5e10a Refactor TestServer configuration 2018-03-20 11:23:35 -07:00
Nikolay Kim 4096089a3f allow to disable http/2 support 2018-03-16 08:48:44 -07:00
Nikolay Kim f55ef3a059 create default CpuPool 2018-03-07 14:56:53 -08:00
Nikolay Kim 32b5544ad9 port hyper header 2018-03-06 00:43:25 -08:00
Nikolay Kim e182ed33b1 add Header trait 2018-03-05 19:28:42 -08:00
Nikolay Kim 3b2928a391 Better naming for websockets implementation 2018-03-02 11:29:55 -08:00
Nikolay Kim 206c4e581a rename httpcodes 2018-03-01 19:12:59 -08:00
Nikolay Kim 72aa2d9eae clippy warnings 2018-02-26 14:33:56 -08:00
Nikolay Kim a855c8b2c9 better ergonomics for WsClient::client() 2018-02-24 08:14:21 +03:00
Nikolay Kim aff43cc8b8 fix routes registration order 2018-02-22 05:48:18 -08:00
Nikolay Kim 3f95cce9e8 allow to pass different binary data 2018-02-19 20:03:57 -08:00
Nikolay Kim 979cea03ac added TestRequest::set_payload() 2018-02-19 20:01:38 -08:00
Nikolay Kim 548f4e4d62 replace reqwest with actix::client 2018-02-19 13:18:18 -08:00
Nikolay Kim b1eec3131f use newer api 2018-02-12 22:56:47 -08:00
Nikolay Kim 335ca8ff33 use new actix api 2018-02-12 16:08:04 -08:00
Nikolay Kim 30bdf9cb5e update actix api 2018-02-12 01:13:06 -08:00
Nikolay Kim 94c4053cb5 more HttpServer type simplification 2018-02-10 11:01:54 -08:00
Christopher Armstrong f8f99ec0c7
Disable signals in HttpServers started by the tests. (#69)
Something is wrong with signals on windows.
This change causes the unit tests to pass on Windows.
2018-02-08 14:55:47 -06:00
Nikolay Kim 577f91206c added support for websocket testing 2018-01-30 15:13:33 -08:00
Alexander Andreev e1d9c3803b spelling check 2018-01-16 00:47:25 +03:00
Nikolay Kim 8a058efb4e move server protocol impl to submodule 2018-01-11 18:35:05 -08:00
Nikolay Kim e8412672a2 add resource level middlewares support 2018-01-09 20:00:18 -08:00
Nikolay Kim 6c7dda495b add very simple http/2 test 2018-01-09 12:49:46 -08:00
Nikolay Kim 8348c830e2 no need for mut ref 2018-01-03 10:57:57 -08:00
Nikolay Kim cc38b30f7b refactor http actor usage 2017-12-31 17:26:32 -08:00
Nikolay Kim 3d3e4dae9a refactor IntoHttpHandler trait 2017-12-29 11:33:04 -08:00
Nikolay Kim 093d0bae40 Param ctor is private 2017-12-27 19:19:28 -08:00
Nikolay Kim da8aa8b988 use mio for accept loop 2017-12-27 11:22:27 -08:00
Nikolay Kim 183bcd38f8 modify unused_addr method; update websockt guide section 2017-12-26 20:52:21 -08:00
Nikolay Kim 3abd0db6b1 restore server start test 2017-12-26 20:07:31 -08:00