DodoPayments.HTTP.Response (dodo_payments v0.1.0)

Copy Markdown View Source

Buffered, transport-neutral HTTP response returned by a client module.

Headers remain a list so repeated fields such as set-cookie are not collapsed. The body must contain undecoded bytes; the SDK owns JSON and schema decoding.

Summary

Types

t()

@type t() :: %DodoPayments.HTTP.Response{
  body: binary(),
  headers: [{String.t(), String.t()}],
  status: non_neg_integer()
}