Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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 )