Replies: 1 comment 1 reply
-
Hi @infogulch, It's really interesting, but I think it'll be hard to implement. Right now, we've two major C dependencies that will be difficult to port on wasm: libcurl and libxml. As you're certainly aware, Hurl is heavily relying on libcurl to do HTTP exchanges and even is exposing many of its APIs. It will be difficult to have a wasm backend that replicate it (HTTP/3 for instance). That said, nothing prevents you to try to compile Hurl on wasm, if we can provide some help, don't hesitate to ask us! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hurl has been great for running automated tests against my server. I think it would be neat if hurl could be compiled to wasm and run in the browser so developers can experiment with and author hurl requests interactively.
I might expect a wasm module interface that references an external function that provides access to the fetch api and exposes a function that can execute a hurl request string. A usable interactive interface could be built up around such a primitive.
Aside from features that would have to be disabled because wasm doesn't have access, like reading from local files, it seems like this could be possible in theory.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions