Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update execute_request2 to use error::Error instead of HttpError #779

Merged
merged 13 commits into from
Jun 6, 2022

Conversation

ctaggart
Copy link
Contributor

@ctaggart ctaggart commented May 31, 2022

For #771. It migrates the HttpClient execute_request2 API in azure_core.

e,
"error converting `reqwest` request into a byte stream",
)
})));

Ok(response)
}

#[cfg(target_arch = "wasm32")]
/// Stub implementation. Will remove as soon as reqwest starts
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also removes this stub. HttpClient is not implemented by us for wasm.

@ctaggart ctaggart marked this pull request as ready for review May 31, 2022 23:32
@cataggar cataggar added the Azure.Core The azure_core crate label Jun 1, 2022
@cataggar cataggar added this to the core 0.3.0 milestone Jun 1, 2022
@cataggar cataggar requested review from rylev and bmc-msft June 1, 2022 01:44
Copy link
Contributor

@johnbatty johnbatty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@cataggar cataggar merged commit 2bf0bc4 into Azure:main Jun 6, 2022
@ctaggart ctaggart deleted the execute_request3 branch June 16, 2022 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core The azure_core crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants