create

suspend fun create(coroutineScope: CoroutineScope, config: AMQPConfig): AMQPConnection

Connect to broker.

Return

AMQPConnection instance.

Parameters

coroutineScope

CoroutineScope on which to connect.

config

Configuration data.