Mint.HTTP2.connect

You're seeing just the function connect, go back to Mint.HTTP2 module for more information.
Link to this function

connect(scheme, address, port, opts \\ [])

View Source

Specs

connect(
  Mint.Types.scheme(),
  Mint.Types.address(),
  :inet.port_number(),
  keyword()
) :: {:ok, t()} | {:error, Mint.Types.error()}

Same as Mint.HTTP.connect/4, but forces a HTTP/2 connection.