Commit Graph

55 Commits

Author SHA1 Message Date
Kaz Wesley 48f77578ea fix url in example 2018-06-11 21:55:05 -07:00
Pascal Hertleif 890a7e70d6 Add missing API docs
These were written without much knowledge of the actix-web internals!
Please review carefully!
2018-06-02 15:52:50 +02:00
Nikolay Kim 154cd3c5de better actix mod re-exports 2018-06-01 09:36:16 -07:00
Douman 80965d7a9a
Re-export actix dependency. Closes #260 (#264)
- Re-export actix's prelude into actix namespace
- Removing implicit dependency on root's actix module
2018-05-31 20:43:14 +03:00
Nikolay Kim a64205e502 refactor TransferEncoding; allow to use client api with threaded tokio runtime 2018-05-29 16:32:39 -07:00
Nikolay Kim be2ceb7c66 update actix Addr; make ClientConnector thread safe 2018-05-27 05:02:49 -07:00
Nikolay Kim 45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -07:00
Nikolay Kim b748bf3b0d make api public 2018-05-09 06:05:16 -07:00
Nikolay Kim be12d5e6fc make WsWriter trait optional 2018-05-09 05:48:06 -07:00
Alexander Andreev 599fd6af93 fix formatting 2018-05-07 20:53:45 +03:00
Alexander Andreev cd11293c1f spelling check 2018-05-06 19:07:30 +03:00
Denis Kolodin 80f385e703 Add WsWriter trait
`WsWriter` trait is a common interface for writing to a websocket and
it's implemented for both: `WebScoketContext` and `ClientWriter`.
2018-05-02 08:35:50 +03: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
Nathan Fox de8a09254d use Optional with websocket close reason 2018-04-21 16:50:27 -04:00
Nikolay Kim 113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Nikolay Kim f5636f321b drop deprecated code 2018-03-29 11:06:44 -07:00
Nikolay Kim ae6c9cb7fa re-arrange exports, some doc string updates 2018-03-29 10:44:26 -07:00
Nikolay Kim 93d99b5a49 Use more ergonomic actix_web::Error instead of http::Error for ClientRequestBuilder::body() 2018-03-21 20:19:31 -07:00
Nikolay Kim 6cd40df387 Fix server websockets big payloads support 2018-03-19 17:27:03 -07:00
Nikolay Kim 35ee5d36d8 actix 0.5.5, ws test 2018-03-19 13:12:36 -07:00
Nikolay Kim f4a47ef71e allow set client request/ws timeout 2018-03-18 19:27:51 -07:00
Nikolay Kim 8d1de6c497 ws client timeouts 2018-03-09 13:12:14 -08:00
Nikolay Kim b56be8e571 write buffer capacity for client 2018-03-09 10:09:13 -08:00
Nikolay Kim 14a511bdad use IntoHeaderValue and Header for client request 2018-03-06 15:18:04 -08:00
Nikolay Kim 631fe72a46 websockets text() is more generic 2018-03-04 10:18:42 -08:00
Nikolay Kim 3b2928a391 Better naming for websockets implementation 2018-03-02 11:29:55 -08:00
Nikolay Kim d62d6e68e0 use new version of http crate 2018-02-28 14:16:55 -08:00
Nikolay Kim 4f99cd1580 add ws error tracing 2018-02-27 15:38:57 -08:00
Nikolay Kim 1f063e4136 move with_connector method to ClientRequestBuilder 2018-02-27 15:14:33 -08:00
Nikolay Kim a7bf635158 unify headers and body processing for client response and server request 2018-02-27 15:03:28 -08:00
Nikolay Kim 5dcb558f50 refactor websockets handling 2018-02-27 10:09:24 -08:00
Nikolay Kim d6fd4a3524 use buffer capacity; remove unused imports 2018-02-26 15:34:25 -08:00
Nikolay Kim 72aa2d9eae clippy warnings 2018-02-26 14:33:56 -08:00
Nikolay Kim 644f1a9518 refactor ws frame parser 2018-02-26 13:58:23 -08:00
Nikolay Kim a855c8b2c9 better ergonomics for WsClient::client() 2018-02-24 08:14:21 +03:00
Nikolay Kim fd31eb74c5 better ergonomics for ws client 2018-02-24 07:36:50 +03:00
Nikolay Kim 03912d2089 support client request's async body 2018-02-19 22:48:27 -08:00
Nikolay Kim cb70d5ec3d refactor http client 2018-02-19 03:11:11 -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 3109f9be62 special handling for upgraded pipeline 2018-02-10 00:05:20 -08:00
Nikolay Kim b4b5c78b51 optimize ws frame generation 2018-02-09 20:43:14 -08:00
Nikolay Kim 78da98a16d add wsload tool; optimize ws frame parser 2018-02-09 17:20:28 -08:00
Alexander Andreev a565e71018 spelling check 2018-01-31 20:28:53 +03:00
Nikolay Kim b698e3546b link to websocket example 2018-01-30 15:26:58 -08:00
Nikolay Kim 577f91206c added support for websocket testing 2018-01-30 15:13:33 -08:00
Nikolay Kim 76f9542df7 rename module 2018-01-30 13:04:52 -08:00
Nikolay Kim 5cbaf3a1b8 add client ssl support 2018-01-30 11:17:17 -08:00