HTTP.Response (http_fetch v0.1.0)
Represents an HTTP response with status, headers, body, and URL information.
Summary
Types
Functions
Parses the response body as JSON using Elixir's built-in JSON
module (available in Elixir 1.18+).
Returns:
{:ok, map | list}
if the body is valid JSON.{:error, reason}
if the body cannot be parsed as JSON.
Reads the response body as text.