OptionalmaxThe maximum number of times to attempt to reconnect to the server. Set to 0 for infinite attempts.
The port for the host connection.
OptionalreconnectWhether to automatically reconnect to the server if the connection is lost.
OptionalreconnectThe interval in ms used to reconnect to the server.
The token needed to connect to the server.
The host domain of the server.