countKeys

@MessageMapping(value = ["count.{uuid}.{id}"])
suspend fun countKeys(@DestinationVariable uuid: UUID, @DestinationVariable id: Int, @DestinationVariable client: String): RSocketResponse

Count keys request/response RSocket API. Takes as arguments UUID, id as Int and the client path as String in metadata.

Counts the one-time signal-keys stored for the target device. It is used by devices to keep track of their own one-time signal-keys.

Returns a HubPayload encoded in ProtoBuf format, which contains data with the resulted one-time signal-keys number.