Express v1.0.0 Express.Network.HTTP2 View Source

Module with functions for establishing and working with HTTP2-connection.

Link to this section Summary

Functions

Establishes a connection for provider with provided ssl_config and client which maintains the connection. Returns the connection

Gets a response from connection stream

Sends a request via a connection with headers and payload

Link to this section Functions

Establishes a connection for provider with provided ssl_config and client which maintains the connection. Returns the connection.

Link to this function get_response(connection, stream) View Source
get_response(pid, pid) :: {:ok, {String.t, String.t}} | any

Gets a response from connection stream

Link to this function send_request(connection, headers, payload) View Source
send_request(Express.Network.HTTP2.Connection.t, list, String.t) ::
  {:ok, pid} |
  any

Sends a request via a connection with headers and payload