ExMoQ.Relay.Info (ExMoQ.Relay v0.1.0)

Copy Markdown View Source

What a started relay reports, from ExMoQ.Relay.info/1: where its listeners are reached. See %ExMoQ.Relay.Info{}.

Summary

Types

t()

What a started relay reports.

Functions

What a started relay reports.

Types

t()

@type t() :: %ExMoQ.Relay.Info{
  internal: String.t() | nil,
  quic: String.t() | nil,
  tcp: String.t() | nil,
  web: String.t() | nil
}

What a started relay reports.

See %ExMoQ.Relay.Info{} for information about each field.

Functions

%ExMoQ.Relay.Info{}

(struct)

What a started relay reports.

It contains these fields, one per listener of ExMoQ.Relay, each nil when that listener is off:

  • :quic - the https://host:port of the QUIC listener (append the path yourself).
  • :tcp - the tcp://host:port of the TCP listener.
  • :web - the http://host:port of the web listener.
  • :internal - the http://host:port of the internal listener.

A listener bound to an unspecified address (0.0.0.0 or ::) is reached on the loopback one.