Module ambient_api::http

source ·
Available on crate feature server only.
Expand description

[Server-only] HTTP-related functionality, including sending requests and receiving responses.

Structs

  • Errors that can occur when making an HTTP request.

Functions

  • Sends an HTTP GET request to the given URL, and returns the response body.
  • Sends an HTTP POST request to the given URL, and returns the response body.