Skip to main content

ServerSetConnected

Callable

  • ServerSetConnected(connected: boolean, errorMessage?: string): void

  • Sets the connection status of the server and updates the login page message


    Parameters

    • connected: boolean

      whether or not the websocket connection to the server has been established successfully

    • optionalerrorMessage: string

      the error message to display if not connected

    Returns void