Pigeon v1.0.4 Pigeon.Http2.Client behaviour View Source

Link to this section Summary

Link to this section Functions

Link to this section Callbacks

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