BlockedAccountRSocketController

@Controller
@MessageMapping(value = ["internal.accounts"])
class BlockedAccountRSocketController(blockedAccountService: BlockedAccountService, protobufSerializer: ProtoBuf)

Constructors

Link copied to clipboard
constructor(blockedAccountService: BlockedAccountService, protobufSerializer: ProtoBuf)

Functions

Link copied to clipboard
@MessageMapping(value = ["block"])
suspend fun blockAccount(@Payload incoming: ByteArray): RSocketResponse

Block Account request/response RSocket API. Takes as argument an BlockedAccount encoded in ProtoBuf format in payload. In metadata takes the client path as String.