Genie.AppServer.startup — Function.startup(port::Int = Genie.config.server_port, host::String = Genie.config.server_host;
ws_port::Int = Genie.config.websocket_port, async::Bool = ! Genie.config.run_as_server) :: NothingStarts the web server.
Arguments
port::Int: the port used by the web serverhost::String: the host used by the web serverws_port::Int: the port used by the Web Sockets serverasync::Bool: run the web server task asynchronously
Examples
julia> startup(8000, "0.0.0.0", async = false)
[ Info: Ready!
Web Server starting at http://0.0.0.0:8000