getPayload

abstract suspend fun getPayload(): Flow<ByteArray>

Returns a Flow of payloads received from a remote endpoint. Once connection is closed the flow will complete