awaitMessageResponse

open suspend override fun awaitMessageResponse(id: String): Message?(source)

Awaits a response to a specified message ID from the connection.

Return

The response message, if one is received.

Parameters

id

The ID of the message for which to await a response.