HubRSocketClient
class HubRSocketClient
The HubRSocketClient provides an abstraction over the RSocket implementation, to interact with the hub-server's RSocket APIs.
Client builders
There are the following ways to create the HubRSocketClient:
HubRSocketClient { ... } suspended builder function to construct a HubRSocketClient.
blockingHubRSocketClient(...) blocking builder to construct a HubRSocketClient from a non-suspended function.
Implementation details
The HubRSocketClient relies on io.rsocket.kotlin.RSocket implementation of the RSocket protocol on tcp transport. The RSocket with its turn it relies on ktor's engine.