If the port getPlantumlOption("server_port") on localhostis is available, i.e. no other server is running on that port, a PantUML PicoWeb Server is started. The return value indicates if a server was started and if not, why.

server_start()

Value

integer or list() as returned from server_status()

  • -999: unknown error

  • 1 : unknown server running on the port on localhost

  • 2 : PlantUML Web Server running on that port on localhost

  • server_info() ehen PicoWeb Server already running or started