vintage_net_wizard v0.2.3 VintageNetWizard View Source

Documentation for VintageNetWizard.

Link to this section Summary

Functions

Run the wizard.

Stop the wizard.

Link to this section Functions

Link to this function

run_wizard(opts \\ [])

View Source
run_wizard([VintageNetWizard.Web.Endpoint.opt()]) :: :ok | {:error, String.t()}

Run the wizard.

This means the WiFi module will be put into access point mode and the web server will be started.

Options:

  • :ssl - A Keyword list of :ssl.tls_server_options
  • :on_exit - {module, function, args} tuple specifying callback to perform after stopping the server.

See Plug.SSL.configure/1 for more information about the SSL options.

Link to this function

stop_wizard()

View Source
stop_wizard() :: :ok | {:error, String.t()}

Stop the wizard.

This will apply the current configuration in memory and completely stop the web and backend processes.