Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 347 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 347 Bytes

ProxyEnv

A tesla middleware, read environment variable and set up proxying for adapter.

Installation

The package can be installed by adding proxy_env to your list of dependencies in mix.exs:

def deps do
  [
    {:proxy_env, "~> 0.1"}
  ]
end

Usage

defmodule MyClient do
  use Tesla
  plug ProxyEnv
end