Nikolay Kim
fc9b14a933
allow to specify server address for http and ws requests
2019-04-19 18:03:44 -07:00
Nikolay Kim
bfe0df5ab0
update tests
2019-04-18 21:28:23 -07:00
Nikolay Kim
b64851c5ec
enable runtime for test:: methods
2019-04-17 10:28:27 -07:00
Nikolay Kim
cc8420377e
pass request ownership to closure instead of ref
2019-04-16 15:43:55 -07:00
Nikolay Kim
c943e95812
update dependencies
2019-04-16 11:17:29 -07:00
Nikolay Kim
e7ec77aa81
update readme
2019-04-16 10:50:37 -07:00
Nikolay Kim
ddfd7523f7
prepare awc release
2019-04-16 10:49:38 -07:00
Nikolay Kim
002c41a7ca
update trust-dns
2019-04-14 20:45:44 -07:00
Nikolay Kim
ab4fda6084
update tests
2019-04-14 20:20:33 -07:00
Nikolay Kim
f9078d41cd
add test::read_response; fix TestRequest::app_data()
2019-04-14 19:52:12 -07:00
Darin
4cc2b38059
added read_response_json for testing ( #776 )
...
* added read_response_json for testing
* cleaned up
* modied docs for read_response_json
* typo in doc
* test code in doc should compile now
* use type coercion in doc
* removed generic R, replaced with Request
2019-04-14 16:25:45 -07:00
Nikolay Kim
d7040dc303
alpha.6 release
2019-04-14 08:09:32 -07:00
Nikolay Kim
6bc1a0c76b
Do not set default headers for websocket request
2019-04-14 07:43:53 -07:00
Nikolay Kim
1f2b15397d
prepare alpha5 release
2019-04-12 14:00:45 -07:00
Nikolay Kim
67c34a5937
Add Debug impl for BoxedSocket
2019-04-11 16:01:54 -07:00
Nikolay Kim
d115b3b3ed
ws verifyciation takes RequestHead; add SendError utility service
2019-04-11 14:00:32 -07:00
Nikolay Kim
b1547bbbb6
do not set default headers
2019-04-08 11:09:57 -07:00
Nikolay Kim
53da55aa3c
alpha4 release
2019-04-07 23:42:05 -07:00
Nikolay Kim
aa78565453
use objects pool for HttpRequest; optimize nested services call
2019-04-07 23:06:21 -07:00
Nikolay Kim
748289f0ff
use custom headers map; more optimizations
2019-04-06 15:02:02 -07:00
Darin
18593d8476
updated Connector docs and renamed service() to finish() ( #757 )
...
* added Connector to actix-web::client namespace
* updated Connector, renaming service() to finish() and adding docs
* added doc for finish method on Connector
2019-04-05 11:34:27 -07:00
Nikolay Kim
b6dacaa23a
remove SendError and SendResponse services
2019-04-05 11:29:42 -07:00
nasa
a655bdac52
Fix clippy warning ( #755 )
2019-04-05 12:34:24 +03:00
Nikolay Kim
bc834f6a03
remove some static contraints
2019-04-04 10:59:34 -07:00
Nikolay Kim
442f5057dd
alpha.3 release
2019-04-02 21:49:31 -07:00
Nikolay Kim
4227cddd30
fix dev dependencies
2019-04-02 15:00:10 -07:00
Nikolay Kim
f100976ef0
rename close_connection to force_close
2019-04-02 14:08:30 -07:00
Nikolay Kim
bca31eb7ad
remove Deref
2019-04-02 13:35:01 -07:00
Nikolay Kim
e282ef7925
return back consuming builder
2019-04-02 12:51:16 -07:00
Nikolay Kim
d067b1d5f1
do not use static
2019-04-02 10:53:44 -07:00
Nikolay Kim
1bd0995d7a
remove unneded &
2019-04-01 18:00:38 -07:00
Nikolay Kim
2d43489278
ClientRequest::json() accepts reference instead of object
2019-04-01 17:53:30 -07:00
Nikolay Kim
38afc93304
Use non-consuming builder pattern for ClientRequest
2019-04-01 15:19:34 -07:00
Nikolay Kim
5c4e4edda4
add ClientResponse::json()
2019-04-01 11:51:18 -07:00
Nikolay Kim
c5fa6c1abe
do not consume response
2019-04-01 11:29:50 -07:00
Nikolay Kim
6c195d8521
add Derev<Target=RequestHead> for ClientRequest
2019-04-01 10:26:25 -07:00
Nikolay Kim
a20b9fd354
prepare aplha2 release
2019-03-29 22:06:14 -07:00
Nikolay Kim
d846328f36
fork cookie crate
2019-03-29 21:13:39 -07:00
Nikolay Kim
193f8fb2d9
update tests
2019-03-29 18:51:07 -07:00
Nikolay Kim
e9bbde6832
allow to override request's uri
2019-03-29 16:28:28 -07:00
Nikolay Kim
5eb3f1154e
revert
2019-03-29 14:27:22 -07:00
Nikolay Kim
aebeb511cd
explicit impl traits for ws connect
2019-03-29 14:26:11 -07:00
Nikolay Kim
744d82431d
add per request timeout
2019-03-29 14:07:37 -07:00
Nikolay Kim
058b1d56e6
Export ws sub-module with websockets related types
2019-03-29 13:49:21 -07:00
Nikolay Kim
1e7096a63a
add request timeout
2019-03-28 22:33:41 -07:00
Nikolay Kim
ea4d98d669
Session wide headers, basic and bearer auth
2019-03-28 21:48:35 -07:00
Nikolay Kim
9710e9b01f
Re-export actix_http::client::Connector
2019-03-28 14:46:33 -07:00
Nikolay Kim
a2c9ff3a33
back to development
2019-03-28 14:10:03 -07:00
Nikolay Kim
9c198a0d29
alpha.1 release
2019-03-28 13:46:26 -07:00
Nikolay Kim
5795850bbb
decompress payload in cpu threadpool
2019-03-28 11:08:24 -07:00
Nikolay Kim
c59937784e
add client websockets support
2019-03-27 18:53:19 -07:00
Nikolay Kim
3edc515bac
refactor RequestHead/ResponseHead
2019-03-27 10:38:01 -07:00
Nikolay Kim
faa3ea8e5b
rename BodyLength to BodySize
2019-03-27 09:24:55 -07:00
Nikolay Kim
b6b37d3ea3
Add Client::request_from
2019-03-26 23:25:24 -07:00
Nikolay Kim
b7570b2476
remove unused code
2019-03-26 22:33:01 -07:00
Nikolay Kim
959aebb24f
simplify TestResponse builder
2019-03-26 22:03:00 -07:00
Nikolay Kim
d49a8ba53b
add client TestResponse
2019-03-26 21:57:04 -07:00
Nikolay Kim
5703bd8160
fix client cookies parsing
2019-03-26 21:31:18 -07:00
Nikolay Kim
ab597dd98a
Added HTTP Authentication for Client #540
2019-03-26 20:57:06 -07:00
Nikolay Kim
1cca25c276
add client decompression support
2019-03-26 20:45:00 -07:00
Nikolay Kim
2629699b62
rename flate2-c feature to flate2-zlib
2019-03-26 18:46:06 -07:00
Nikolay Kim
9451ba71f4
update cargo files
2019-03-26 12:50:51 -07:00
Nikolay Kim
50c0ddb3cd
update tests
2019-03-26 12:31:51 -07:00
Nikolay Kim
b254113d9f
move high level client code from actix-http
2019-03-26 11:41:38 -07:00
Nikolay Kim
cc24c77acc
add Client::new()
2019-03-26 09:11:27 -07:00
Nikolay Kim
83d4447349
add http client
2019-03-25 21:58:01 -07:00