View Source Tesla.Middleware.Opts (tesla v1.13.2)

Set default opts for all requests.

Examples

defmodule MyClient do
  def client do
    Tesla.client([
      {Tesla.Middleware.Opts, [some: "option"]}
    ])
  end
end