Companion

object Companion

Functions

Link copied to clipboard
suspend fun connect(exceptionMap: RpcExceptionMap, httpClientEngine: HttpClientEngineFactory<*>, url: String, secureArea: SecureArea, storage: Storage): RpcAuthorizedClient

Connects to a secure RPC server using ktor HTTP client.

suspend fun connect(exceptionMap: RpcExceptionMap, httpTransport: HttpTransport, transportUri: String, secureArea: SecureArea, storage: Storage): RpcAuthorizedClient

Connects to a secure RPC server using given HttpTransport implementation.