Requiem.ConnectionRegistry (requiem v0.4.0)

QUIC connection process registry

Link to this section Summary

Functions

Find a QUIC connection process by connection-id.

Returns the registry name.

Register a QUIC connection process with connection-id.

Unregister a QUIC connection process.

Link to this section Functions

Link to this function

lookup(handler, conn_id)

Specs

lookup(module(), String.t()) :: {:ok, pid()} | {:error, :not_found}

Find a QUIC connection process by connection-id.

Returns the registry name.

Link to this function

register(handler, conn_id)

Specs

register(module(), String.t()) ::
  {:ok, pid()} | {:error, {:already_registered, pid()}}

Register a QUIC connection process with connection-id.

Link to this function

unregister(handler, conn_id)

Specs

unregister(module(), String.t()) :: :ok

Unregister a QUIC connection process.