Creates an instance of the MotionMasterClient using the specified hostname or connection configuration object.
Both the hostname and configuration properties are optional. Default values for each option can be found in MotionMasterConnectionConfig.
After the instance is created, the function opens the WebSocket connections, allowing the returned client object to send requests immediately.
Creates an instance of the MotionMasterClient using the specified hostname or connection configuration object. Both the hostname and configuration properties are optional. Default values for each option can be found in MotionMasterConnectionConfig. After the instance is created, the function opens the WebSocket connections, allowing the returned client object to send requests immediately.