awaitWebSocket

fun awaitWebSocket(durationMillis: Long)

Wait for websocket session completion


fun awaitWebSocket(duration: Duration)