Quic.AbyssDispatcher (elixir_quic v0.16.7)

Copy Markdown View Source

Abyss callback adapter for the external Quic.Endpoint runtime.

This module intentionally does not compile against or call Abyss modules. The host dispatcher supplies a send_fun in the callback context; the adapter passes that capability to an externally owned QUIC endpoint.

Summary

Functions

handle_datagram(remote, bytes, at, context)

@spec handle_datagram(tuple(), binary(), integer(), map()) ::
  {:ok, map()} | {:drop, term(), map()}

init(arg1, opts)

@spec init(map(), keyword()) :: {:ok, map()} | {:error, term()}

terminate(reason, arg2)

@spec terminate(term(), map()) :: :ok