Tesla.Middleware.Opts (tesla v1.4.0) View Source
Set default opts for all requests.
Example usage
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