Mint.HTTP1.set_mode

You're seeing just the function set_mode, go back to Mint.HTTP1 module for more information.

Specs

set_mode(t(), :active | :passive) :: {:ok, t()} | {:error, Mint.Types.error()}

See Mint.HTTP.set_mode/2.