Package 

Class MessageOperationSerializer


  • 
    public class MessageOperationSerializer
    
                        

    MessageOperationSerializer: internal Utility class to serialize message update/delete requests in different formats.

    • Method Detail

      • asJsonRequest

         static HttpCore.RequestBody asJsonRequest(Message message, MessageOperation operation, ChannelOptions channelOptions)

        Creates a JSON request body for a message update/delete operation.

        Parameters:
        message - The message containing the update/delete data
        operation - The MessageOperation metadata
        channelOptions - Channel options for encoding
      • asMsgPackRequest

         static HttpCore.RequestBody asMsgPackRequest(Message message, MessageOperation operation, ChannelOptions channelOptions)

        Creates a MessagePack request body for a message update/delete operation.

        Parameters:
        message - The message containing the update/delete data
        operation - The MessageOperation metadata
        channelOptions - Channel options for encoding