vintage_net_wizard v0.2.3 VintageNetWizard.Web.Endpoint View Source
Supervisor for the Web part of the VintageNet Wizard.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Start the web server
Stop the web server
Link to this section Types
Link to this type
opt()
View Sourceopt() :: {:ssl, :ssl.tls_server_option()} | {:on_exit, {module(), atom(), list()}}
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
start_server(opts \\ [])
View Sourcestart_server([opt()]) :: :ok | {:error, :already_started | :no_keyfile | :no_certfile}
Start the web server
If the web server is started then {:error, already_started}
is returned.
Only one server can be running at a time.
Stop the web server