Bourse.Signing.SignedRequest (bourse v0.1.0)

Copy Markdown View Source

The signed, transport-ready request a signing pattern returns.

This is the output half of the Bourse.Signing.Behaviour contract. :url is absolute, and credentials may live in :url, :headers, or :body depending on the venue's scheme — which is why this struct has a custom Inspect implementation that redacts them.

Summary

Types

t()

@type t() :: %Bourse.Signing.SignedRequest{
  body: String.t() | nil,
  headers: [{String.t(), String.t()}],
  method: Bourse.Signing.Request.method(),
  url: String.t()
}