Pigeon v0.12.1 Pigeon.Http2.Client behaviour

Summary

Functions

default()

Callbacks

connect(uri, scheme, options)
connect(uri :: List.t, scheme :: :https, options :: Keyword.t) ::
  {:ok, term} |
  {:error, term}
handle_end_stream(msg, state)
handle_end_stream(msg :: term, state :: term) ::
  {:ok, %Pigeon.Http2.Stream{body: term, headers: term, id: term}} |
  term
send_ping(pid)
send_ping(pid) :: :ok
send_request(pid, headers, data)
send_request(pid, headers :: Keyword.t, data :: String.t) :: :ok