Interface GrpcMessage


  • public interface GrpcMessage
    A generic gRPC message
    Author:
    Julien Viet
    • Method Detail

      • message

        static GrpcMessage message​(String encoding,
                                   Buffer payload)
        Returns:
        a new message in proto format
      • encoding

        String encoding()
        Returns:
        the message encoding
      • format

        WireFormat format()
        Returns:
        the message format
      • payload

        Buffer payload()
        Returns:
        the message payload, usually in Protobuf format encoded in the encoding() format