Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

Mint - Disrupting HTTP clients

Mint - Disrupting HTTP clients

Andrea Leopardi

August 29, 2019
Tweet

More Decks by Andrea Leopardi

Other Decks in Programming

Transcript

  1. case Mint.HTTP.stream(conn, message) do :unknown -> # ... {:ok, conn,

    responses} -> # ... {:error, conn, reason, responses} -> # ... end
  2. proxy = { :http, "proxy.example.com", 80, _opts = [] }

    Mint.HTTP.connect( :https, "httpbin.org", 443, proxy: proxy )