Transport-neutral request passed to DodoPayments.ClientModule.request/2.
It is fully prepared by the SDK. A client module must treat its method, URL, headers, body, timeout, response mode, and body limit as authoritative and must perform at most one network attempt.
Summary
Types
@type t() :: %DodoPayments.HTTP.Request{ body: iodata() | nil, headers: [{String.t(), String.t()}], max_body_bytes: pos_integer() | :infinity, method: atom(), response_mode: :raw, timeout: pos_integer(), url: URI.t() | String.t() }