aries / net.globalid.aries.utils / RxPool

RxPool

object RxPool

RX wrappers for Pool from indy-sdk.

Types

PoolConfig

Configuration for creating a pool config.

data class PoolConfig

Functions

closeLedgerPool

Closes the given ledger pool.

fun closeLedgerPool(pool: Pool): Completable

createConfig

Creates a configuration with the given name from the given config file.

fun createConfig(configName: String, config: PoolConfig): Completable

openPool

Opens a pool with the given configuration name.

fun openPool(configName: String): Single<Pool>

setProtocolVersion

Sets the protocol version for pool requests:

fun setProtocolVersion(version: Int): Completable