ServerClientConfigurer
Defines APIs for configuring a server-client. These APIs can be used after authorization phase by a server-client to configure his capabilities.
Functions
Link copied to clipboard
Blocking-call variant of ServerClientConfigurer.getAllInstalledPlugins.
Link copied to clipboard
fun ServerClientConfigurer.blockingUpdateConfig(jwt: String): HubPayload<ServerClientUpdateResponse>
Blocking-call variant of ServerClientConfigurer.updateConfig.
Link copied to clipboard
Retrieves all installed plugins
in hub-server.
Link copied to clipboard
fun <T> HubClientCoroutineContextStrategy.runBlockingWithContext(block: suspend CoroutineScope.() -> T): T
Runs a new coroutine in HubClientCoroutineContextStrategy.clientCoroutineContext context and blocks the current thread until its completion. This function should not be used from a coroutine.
Link copied to clipboard
Updates server-client's configuration if needed.
Properties
Link copied to clipboard
The hubClient's-coroutine-context. It can be used to explicit define in which CoroutineContext the new client will run.