io.vertx.grpc.common

## Interface GrpcMessageEncoder<T>

-     public interface GrpcMessageEncoder<T>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static GrpcMessageEncoder<Buffer>` | `GZIP`
    `static GrpcMessageEncoder<Buffer>` | `IDENTITY`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `GrpcMessage` | `encode(T msg)`
    `static <T> GrpcMessageEncoder<T>` | `marshaller(io.grpc.MethodDescriptor.Marshaller<T> desc)`

- - ### Field Detail

    - #### IDENTITY

          static final GrpcMessageEncoder<Buffer> IDENTITY

    - #### GZIP

          static final GrpcMessageEncoder<Buffer> GZIP

  - ### Method Detail

    - #### marshaller

          static <T> GrpcMessageEncoder<T> marshaller(io.grpc.MethodDescriptor.Marshaller<T> desc)

    - #### encode

          GrpcMessage encode(T msg)

Copyright © 2022 Eclipse. All rights reserved.