RpcWebSocketSession

constructor(loggerFactory: Logger.Factory, client: HttpClient, node: ClusterNode)

Initializes the WebSocket session for the given ClusterNode. The connection is established asynchronously upon instantiation.

Parameters

loggerFactory

Factory for creating a logger instance for this class to enable logging.

client

HTTP client used to manage the WebSocket connections.

node

The cluster node representing the target WebSocket endpoint.