SfVoiceMedia.Client (sf_voice v0.1.1)

Copy Markdown View Source

holds connection config for a single API tenant.

build one with SfVoiceMedia.new/2 — don't construct this struct directly.

fields:

  • api_key — sent as the X-API-Key request header
  • base_url — scheme + host, no trailing slash (e.g. "https://api.sf-voice.com")
  • http_opts — keyword list forwarded verbatim to every Req call

Summary

Types

t()

@type t() :: %SfVoiceMedia.Client{
  api_key: String.t(),
  base_url: String.t(),
  http_opts: keyword()
}