-
Notifications
You must be signed in to change notification settings - Fork 155
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
Incorporating standalone HTTP crates #226
Comments
On the first look:
So I suggest to wait until we can use async/.await and Reqwest fully supports WASM. Then we can experiment with them or/and rewrite our Fetch module. |
Agree - unable to get either to compile to wasm target on stable. Will re-attack later. |
Reqwest, Surf and probably other libraries depends on So we probably have to create alternative to |
obsolete since v0.10.0 |
Until recently, using
web_sys
's fetch functionality's been the only practical way to perform HTTP requests. Recently, two new options became available:Surf is a just-release async HTTP crate with WASM support.
Reqwest, a popular Rust HTTP crate recently added WASM support.
Thoughts on using one of these along with, or instead of the existing fetch module? I haven't explored this yet, and how it would work with the update system. Users can always, of course, use these separately with no direct integration.
The text was updated successfully, but these errors were encountered: