View Source quicer_listener (quicer v0.0.303)

Summary

Types

-type listen_on() :: inet:port_number() | string().
"127.0.0.1:8080"
-type listener_name() :: atom().
-type listener_opts() :: map().

Functions

Link to this function

start_link(Name, ListenOn, Options)

View Source
-spec start_link(Name :: listener_name(),
           ListenOn :: listen_on(),
           Options :: {listener_opts(), quicer_connection:opts(), quicer_stream:stream_opts()}) ->
              {ok, Pid :: pid()} |
              {error, Error :: {already_started, pid()}} |
              {error, Error :: term()} |
              ignore.
Starts the server
Link to this function

start_listener(Name, ListenOn, Options)

View Source