Metabase.Opts (metabase v0.0.0)

Configuration needed by the HTTP client.

Link to this section Summary

Functions

Builds a Metabase.Opts struct.

Link to this section Types

@type t() :: %Metabase.Opts{
  client: module(),
  client_opts: keyword(),
  headers: Metabase.HTTP.headers_t(),
  host: String.t(),
  json_codec: module(),
  path: String.t(),
  port: pos_integer(),
  protocol: String.t(),
  retry: boolean() | module(),
  retry_opts: keyword(),
  session: String.t()
}

Link to this section Functions

@spec new(keyword()) :: t()

Builds a Metabase.Opts struct.

Any options passed into this function will override struct defaults.