dependabot[bot]
4a8998241a
Bump lodash from 4.17.15 to 4.17.19 in /examples/wasm_header ( #975 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-24 07:06:32 -07:00
dependabot[bot]
9df2bc6e61
Bump lodash from 4.17.15 to 4.17.19 in /examples/wasm_github_fetch ( #974 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-24 07:06:18 -07:00
dependabot[bot]
da899e27e1
Bump websocket-extensions from 0.1.3 to 0.1.4 in /examples/wasm_header ( #940 )
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 13:22:44 -07:00
dependabot[bot]
ec2f15ffdb
Bump websocket-extensions in /examples/wasm_github_fetch ( #939 )
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-08 13:22:23 -07:00
dependabot[bot]
b76b048037
Bump acorn from 6.3.0 to 6.4.1 in /examples/wasm_github_fetch
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.3.0...6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-03-16 11:34:42 -07:00
dependabot[bot]
d9171deda3
Bump acorn from 6.3.0 to 6.4.1 in /examples/wasm_header
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.3.0...6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-03-16 11:17:52 -07:00
Sean McArthur
ae81a30cf7
Document serde dependency in JSON examples
...
Closes #818
2020-02-27 12:52:57 -08:00
r-arias
20d50daa8b
re-add the "socks" feature (using tokio-socks) ( #769 )
...
The "socks" feature has been removed for a while now, the optional
dependency on the "socks" crate commented out.
The code for actually providing the socks feature was, however, still
mostly present, if a bit out of date.
This commit re-adds the socks feature using the tokio-socks (instead of
socks) crate.
Closes #620
2020-01-09 12:25:26 -08:00
Sean McArthur
f78846b6f1
Add note about how to use tokio::main in examples ( #745 )
2019-12-17 12:56:36 -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
John Gallagher
43f2ff083c
Add error to JsValue conversion and example ( #691 )
2019-10-30 13:30:32 -07:00
Sean McArthur
5356776834
refine async API
...
- Converted `Response::text` and `Response::json` to `async fn`
- Added `Response::bytes` async fn as a counterpat to `text`.
- Added `Response::chunk` async fn to stream chunks of the response body.
- Added `From<Response> for Body` to allow piping a response as a request body.
- Removed `Decoder` from public API
- Removed body accessor methods from `Response`
- Removed `Chunk` type, replaced with `bytes::Bytes`.
- Removed public `impl Stream for Body`.
2019-09-10 14:06:09 -07:00
Sean McArthur
87a09322d6
Make the async Client default ( #626 )
...
The previously default Client is moved to `reqwest::blocking`, while the
async client becomes the main API.
Closes #622
2019-09-09 17:20:51 -07:00
Sean McArthur
ba7b2a754e
refactor all to async/await ( #617 )
...
Co-authored-by: Danny Browning <danny.browning@protectwise.com >
Co-authored-by: Daniel Eades <danieleades@hotmail.com >
2019-09-06 17:22:56 -07:00
danieleades
cf8944a0f0
cargo fmt ( #604 )
...
Run rustfmt and setup CI to check for it.
2019-08-29 09:52:39 -07:00
Daniel Eades
86d9cbc66e
cargo fix --edition
2019-08-16 12:59:55 -07:00
messense
a3cd3633d8
Use dyn Trait feature in examples & tests ( #553 )
2019-06-25 21:16:20 -07:00
Dmitry Pankratov
e16aed5e3c
Added support for sending requests with streaming Body ( #545 )
2019-06-14 10:29:54 -07:00
Sean McArthur
964d87ce57
Update trait object syntax to use 'dyn'
2019-06-03 13:15:09 -07:00
nirasan
9f22f46e85
Clarify correct specification of dependency on serde ( #525 )
...
Closes #494
2019-05-16 10:46:00 -07:00
Guus
8ed9e60351
Correcting 404 on example/simple.rs ( #449 )
2019-01-28 10:14:59 -08:00
Josh Mcguigan
aa6b1f4184
Added async example which makes multiple requests ( #351 )
2018-09-20 14:07:33 -07:00
Vlad Frolov
276c3d6594
Added JSON examples
2018-09-19 12:48:46 -07:00
Sean McArthur
3424e91746
update and remove unnecessary dependencies
2018-08-15 16:54:41 -07:00
Sean McArthur
3fbda4fd49
remove unstable language and feature
2018-08-15 16:08:47 -07:00
Sean McArthur
c1c5f14b7c
fix unused result warning in async example
2018-07-05 15:06:09 -07:00
Sean McArthur
6c78e363e0
remote tokio-core dependency
2018-07-05 14:06:01 -07:00
Yash Srivastav
c417d6dab8
Upgrade hyper to 0.12
...
Closes #304
2018-07-05 10:03:31 -07:00
Oliver Schneider
f0b774960d
Allow unsized types in query, form and json
2018-02-01 14:44:39 +01:00
Sean McArthur
af49be0ce6
update to log 0.4
2018-01-19 17:55:15 -08:00
Sean McArthur
779f8080ef
change Builders to only error at the end
...
Closes #189
2017-08-31 18:10:45 -07:00
Ashley Mannix
2cb70c872a
make body return borrowed decoder
2017-08-19 18:02:20 +10:00
Sean McArthur
f8fd5be16c
fix unknown lint error
2017-08-17 12:52:44 -07:00
Sean McArthur
c166e04a55
fix lint warnings on newer nightly
2017-08-17 10:52:22 -07:00
Sean McArthur
7bfa7adb49
deny warnings in examples
2017-08-02 17:45:49 -07:00
Sean McArthur
665b4fe718
upgrade hyper to v0.11
2017-06-21 09:47:21 -07:00
Tom Prince
a2c24a4009
Some slightly less trivial rustfmt changes.
2017-05-31 14:50:32 -06:00
Tom Prince
4c60e6d35f
Really trivial rustfmt changes.
2017-05-31 14:50:32 -06:00
James Kominick
e9d5774365
update example error handling
...
- Add error-chain dev dependency
- Add error handling using `?` instead of `unwrap`
2017-05-21 16:15:46 -04:00
Laurent Arnoud
cc850a65cb
Add response json example
...
ref https://github.com/seanmonstar/reqwest/pull/19#issuecomment-261789621
2017-04-23 18:00:35 +02:00
Sean McArthur
5479d9e8b8
handle redirects
2016-10-25 12:26:01 -07:00
Sean McArthur
1259128d92
add native-tls and serde json support
2016-10-22 21:48:29 -07:00
Sean McArthur
15e59c1c6d
use current hyper for now
2016-10-16 10:26:04 -07:00
Sean McArthur
d78eff6918
improvements
2016-10-16 09:40:28 -07:00
Sean McArthur
9bfdcec052
init
2016-06-30 17:23:51 -07:00