io.vertx.grpc.common

## Interface GrpcMessage

-     public interface GrpcMessage

  A generic gRPC message
  Author:
    Julien Viet

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `encoding()`
    `static GrpcMessage` | `message(String encoding, Buffer payload)`
    `Buffer` | `payload()`

- - ### Method Detail

    - #### message

          static GrpcMessage message(String encoding,
                                     Buffer payload)

      Returns:
        a new message

    - #### encoding

          String encoding()

      Returns:
        the message encoding

    - #### payload

          Buffer payload()

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

Copyright © 2022 Eclipse. All rights reserved.