connect
Establishes a connection to the remote feature messaging service.
This method initiates communication with the remote service based on the client's configuration and prepares it for sending and receiving feature-related messages. Upon successful completion, the client transitions to a connected state and isConnected
will return true
.
If an attempt to connect fails (e.g., due to networking issues or authentication errors), the method will throw an appropriate exception or error indicating the failure reason.