Requiem.Connection (requiem v0.4.0)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Specs

t() :: %Requiem.Connection{
  allow_address_routing: boolean(),
  conn: any(),
  conn_state: Requiem.ConnectionState.t(),
  handler: module(),
  handler_initialized: boolean(),
  handler_state: any(),
  timer: reference(),
  trace_id: binary(),
  webtransport_initialized: boolean()
}

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

process_packet(pid, address, packet)

Specs

process_packet(pid(), Requiem.Address.t(), binary()) :: :ok
Link to this function

start_link(opts)

Specs

start_link(Keyword.t()) :: GenServer.on_start()