Expand description
A HTTP client module for executing HTTP requests in the host runtime. The functions are blocking from the guest, but are run asynchronously in the host. While the request is being executed, the host thread can continue to run other code.
Structs§
- Http
Request - A HTTP request.
- Http
Response - An HTTP response.
Enums§
- Http
Error - An HTTP error.
- Http
Method - The HTTP method.
- Http
Version - The HTTP version.
Functions§
- execute
- Executes a single HTTP request in the host runtime.
- execute_
many - Executes multiple HTTP requests in the host runtime in parallel. Returns results in the same order as the requests.