connect method
Connects to the socket server.
Throws SocketConnectionException if connection fails. Throws SocketTimeoutException if connection times out. Throws SocketInvalidUrlException if URL is invalid.
Implementation
Future<String?> connect(String url, {SocketConnectionOptions? options}) {
throw UnimplementedError('connect() has not been implemented.');
}