-
Notifications
You must be signed in to change notification settings - Fork 15
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
Clarify Wasmer support of http_request
#40
Comments
http_request
http_request
Btw, there are currently six functions in the WASIX witx that aren't in the documentation and that Wasmer doesn't recognize:
|
@BenjaminAster
|
Thanks for clarifying. (import "wasix_32v1" "http_request" (func $http_request
(param $url_string_ptr i32)
(param $url_string_length i32)
(param $method_string_ptr i32)
(param $method_string_length i32)
(param $headers_string_ptr i32)
(param $headers_string_length i32)
(param $gzip_enabled i32)
(param $http_handle_ptr i32) ;; will be filled with an i32 handle id by the runtime
(result i32) ;; zero (success) or error number
)) What is the equivalent for (the) current alternative(s)? I tried all sorts of things like By the way, I even had to dig through Wasmer's source code just to find out which module namespace WASIX uses until I found |
The WASIX witx describes the
http_request
function, but Wasmer (version 4.0.0-beta.3) doesn't seem to recognize it; neither with the default"wasix_32v1"
nor with the"wasix_http_client_v1"
module name that is referenced in the Wasmer codebase various times. The function also doesn't exist in the WASIX documentation, so is it implemented yet in Wasmer? If not, please prioritize it; making HTTP requests is literally *the* one WASI feature that I would love to see most and it's also precisely the one that doesn't seem to work.The text was updated successfully, but these errors were encountered: