Commit Graph

161 Commits

Author SHA1 Message Date
Nikolay Kim 1941aa0217 use actix-connect crate 2019-03-13 14:41:40 -07:00
Nikolay Kim ca73f178c9 revert generic service request; add ServerConfig to service factories 2019-03-09 07:37:23 -08:00
Nikolay Kim e25483a0d5 fix warnings 2019-03-06 21:12:35 -08:00
Nikolay Kim 96477d42cb extend HttpMessage trait, add api to work with requests cookies 2019-03-05 13:16:26 -08:00
Nikolay Kim ce0b172598 update actix-service 2019-03-05 09:30:11 -08:00
Nikolay Kim b80ee71785 use new new service api 2019-02-22 14:21:35 -08:00
Nikolay Kim 3269e35722 migrate to actix-service 0.2 2019-02-01 20:18:44 -08:00
Nikolay Kim 4217894d48 cleaup warnings 2019-01-29 10:14:00 -08:00
Nikolay Kim 42277c5c8f update deps 2019-01-26 22:09:26 -08:00
Nikolay Kim cc74435b01 drop failure crate 2018-12-19 18:34:56 -08:00
Nikolay Kim aaae368ed9 use new actix crates 2018-12-10 18:08:33 -08:00
Nikolay Kim 9f4d48f7a1 update tests 2018-12-06 15:03:01 -08:00
Nikolay Kim e9121025b7 convert to 2018 edition 2018-12-06 14:32:52 -08:00
Nikolay Kim 5003c00efb use new Service and NewService traits 2018-11-30 11:57:57 -08:00
Nikolay Kim d269904fbf add cause for nested errors 2018-11-28 09:10:13 -10:00
Nikolay Kim 06387fc778 display parse error for ws client errors 2018-11-28 09:02:31 -10:00
Nikolay Kim 3901239128 unify requedt/response encoder 2018-11-19 14:57:12 -08:00
Nikolay Kim adad203314 refactor encoder/decoder impl 2018-11-18 17:52:56 -08:00
Nikolay Kim 8fea1367c7 re-introduce Body type, use Body as default body type for Response 2018-11-18 13:48:42 -08:00
Nikolay Kim 3a4b16a6d5 use BodyLength for request and response body 2018-11-16 21:30:37 -08:00
Nikolay Kim 03ad9a3105 simplify client decoder 2018-11-14 10:52:40 -08:00
Nikolay Kim 550c5f55b6 add simple http client 2018-11-13 22:59:00 -08:00
Nikolay Kim c2540cc59b clippy warnings 2018-10-29 16:39:46 -07:00
Nikolay Kim cd0223e8b7 update Connector usage 2018-10-23 22:41:30 -07:00
Nikolay Kim bc6e62349c update deps; export api 2018-10-23 21:44:20 -07:00
Nikolay Kim 4260692034 add DefaultClient type alias 2018-10-22 18:52:40 -07:00
Nikolay Kim 09c94cb06b add client http codec; websockets client 2018-10-22 18:18:05 -07:00
Nikolay Kim 9b94eaa6a8 ws services 2018-10-22 09:59:20 -07:00
Nikolay Kim 47b47af01a refactor ws codec 2018-10-10 13:20:00 -07:00
Nikolay Kim c0699a070e add TakeRequest service; update ws test case 2018-10-05 15:40:56 -07:00
Nikolay Kim 7e135b798b add websocket transport and test 2018-10-05 14:30:40 -07:00
Nikolay Kim 5c0a2066cc refactor ws to a websocket codec 2018-10-05 12:47:22 -07:00
Nikolay Kim 8c2244dd88 rename HttpResponse 2018-10-05 11:04:59 -07:00
Nikolay Kim d53f3d7187 re-enable websockets 2018-10-05 10:20:49 -07:00
Nikolay Kim c24a8f4c2d remove high level apis 2018-10-05 07:02:09 -07:00
Nikolay Kim 127af92541 clippy warnings 2018-10-01 21:16:56 -07:00
Nikolay Kim 1716380f08 clippy fmt 2018-08-23 09:48:01 -07:00
Tobias Bieniek 0925a7691a ws/context: Increase `write()` visibility to public (#402)
This type is introduced to avoid confusion between the `.binary()` and `.write_raw()` methods on WebSocket contexts
2018-07-19 20:04:13 +03:00
Nikolay Kim 6b10e1eff6 rename PayloadHelper 2018-07-18 10:01:28 +06:00
Nikolay Kim db005af1af clippy warnings 2018-07-12 10:41:49 +06:00
Diggory Blake 87824a9cf6 Refactor `apply_mask` implementation, removing dead code paths and reducing scope of unsafety 2018-07-08 13:56:43 +01:00
Nikolay Kim 5b7aed101a remove unsafe 2018-07-06 13:54:43 +06:00
Nikolay Kim 1c3b32169e remove stream from WebsocketsContext::with_factory 2018-07-06 12:11:40 +06:00
Nikolay Kim 7d96b92aa3 add check for usize cast 2018-07-06 07:46:47 +06:00
Nikolay Kim 6fd686ef98 cleanup warnings 2018-07-04 21:01:27 +06:00
Nikolay Kim 4c5a63965e use new actix context api 2018-07-04 17:04:23 +06:00
Nikolay Kim fec6047ddc refactor HttpRequest mutability 2018-07-02 23:35:32 +06:00
Nikolay Kim ff0ab733e4 remove unsafe from mask 2018-06-23 11:51:02 +06:00
Nikolay Kim d1318a35a0 remove unnecessary unsafes 2018-06-23 10:29:23 +06:00
Nikolay Kim b5594ae2a5
Fix doc api example 2018-06-21 14:11:00 +06:00