View Source Tesla.Middleware.Opts (tesla v1.12.1)
Set default opts for all requests.
Examples
defmodule Myclient do
use Tesla
plug Tesla.Middleware.Opts, [some: "option"]
end
Set default opts for all requests.
defmodule Myclient do
use Tesla
plug Tesla.Middleware.Opts, [some: "option"]
end