public interface GrpcMessageEncoder<T>
Modifier and Type | Field and Description |
---|---|
static GrpcMessageEncoder<Buffer> |
GZIP |
static GrpcMessageEncoder<Buffer> |
IDENTITY |
Modifier and Type | Method and Description |
---|---|
GrpcMessage |
encode(T msg) |
static <T> GrpcMessageEncoder<T> |
marshaller(io.grpc.MethodDescriptor.Marshaller<T> desc) |
static final GrpcMessageEncoder<Buffer> IDENTITY
static final GrpcMessageEncoder<Buffer> GZIP
static <T> GrpcMessageEncoder<T> marshaller(io.grpc.MethodDescriptor.Marshaller<T> desc)
GrpcMessage encode(T msg)
Copyright © 2023 Eclipse. All rights reserved.