connect

expect fun connect(userPrivKey: String, solutionId: String, bridgeUrl: String): Connection

Connects to PrivMX Bridge server.

Return

Connection object

Parameters

userPrivKey

user's private key

solutionId

ID of the Solution

bridgeUrl

PrivMX Bridge server URL

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual fun connect(userPrivKey: String, solutionId: String, bridgeUrl: String): Connection

Connects to PrivMX Bridge server.

Return

Connection object

Parameters

userPrivKey

user's private key

solutionId

ID of the Solution

bridgeUrl

PrivMX Bridge server URL

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual external fun connect(userPrivKey: String, solutionId: String, bridgeUrl: String): Connection

Connects to PrivMX Bridge server.

Return

Connection object

Parameters

userPrivKey

user's private key

solutionId

ID of the Solution

bridgeUrl

PrivMX Bridge server URL

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception