Module http

Module http 

Source
Expand description

HTTP client for making outbound requests.

This module provides a high-level API for making HTTP requests from within a WASM module. It wraps the async host operations in a synchronous, ergonomic interface.

Structs§

Client
HTTP client for making outbound requests.
HttpResponse
Response from an HTTP request.
RequestBuilder
Builder for HTTP requests.

Enums§

HttpError
Error type for HTTP client operations.

Functions§

get
Convenience function for simple GET requests.
post_json
Convenience function for simple POST requests with JSON body.