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

Support compiling to WASM #121

Open
seanaye opened this issue Feb 28, 2025 · 0 comments
Open

Support compiling to WASM #121

seanaye opened this issue Feb 28, 2025 · 0 comments

Comments

@seanaye
Copy link

seanaye commented Feb 28, 2025

Currently httpmock always compiles with the server enabled (there is no feature to enable/disable it)

This prevents the crate from running with wasm-bindgen-test because the server uses a bunch of things that cannot compile in wasm32 environments. (e.g. we can't bind network sockets in wasm)

It would be nice if we could use the connect method in wasm to connect to an a standalone server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant