Commit Graph

14 Commits

Author SHA1 Message Date
Konrad Borowski
e7be3eda04 Make wasm-bindgen-test a dev dependency 2020-11-24 07:04:21 -08:00
stevelr
4fe07d81cf add ClientBuilder.default_headers() for wasm32 target (#1084) 2020-11-16 13:09:47 -08:00
stevelr
045d7c7d2f Support Cloudflare workers runtime (#1081) 2020-11-11 10:10:01 -08:00
Jonas Platte
d42385e7f2 wasm: Omit request body if it's empty (#1012)
This should allow creating GET and HEAD requests from http::Request
2020-08-20 15:42:48 -07:00
SnejUgal
ecc863fdac Do not assume that window exists in WASM (#990) 2020-08-06 15:09:31 -07:00
Jason van den Hurk
77d7e452e1 Make execute method on WASM client for compatibility with async_impl (#989)
The async_impl of reqwest has a `execute` impl on Client which is used
to execute a request and return a Result Future. When converting a crate
from async to wasm this method is missing, requiring forking and
rewriting the crate. By introducing this method less errors will be
introduced when trying to compile to wasm
2020-08-06 10:37:05 -07:00
Enno Boland
a800202384 Add multipart for WASM (#966) 2020-07-08 13:10:23 -07:00
Paolo Barbolini
7214e123c4 Implement Default for Client and ClientBuilder on the wasm32 target (#813) 2020-02-20 08:44:19 -08:00
Paolo Barbolini
fd88e0c648 wasm: add url function to wasm response (#777)
Adds the url function to wasm::Response
2020-01-09 13:43:08 -08:00
rhysd
6004623784 Add RequestBuilder::fetch_mode_no_cors() 2020-01-08 11:47:47 -08:00
Gleb Pomykalov
0f32c4a01a Update to hyper 0.13 2019-12-10 16:24:05 -08:00
John Gallagher
f6f81f9cc1 wasm: Add request body in the form of Bytes (#696)
* Add body bytes

* Add example and header creation code
2019-11-04 09:17:05 -08:00
Paolo Barbolini
dd65fc7c3a wasm: translate over response headers (#689)
Closes #656
2019-10-21 13:55:42 -07:00
Sean McArthur
932defd879 Introduce unstable, incomplete WASM support 2019-09-26 10:01:08 -07:00