Function wasmtime_wasi_http::http_request_error
source ยท pub fn http_request_error(err: Error) -> ErrorCode
Expand description
Translate a http::Error
to a wasi-http ErrorCode
in the context of a request.
pub fn http_request_error(err: Error) -> ErrorCode
Translate a http::Error
to a wasi-http ErrorCode
in the context of a request.