struct
GRPC::RequestEnvelope
- GRPC::RequestEnvelope
- Struct
- Value
- Object
Overview
RequestEnvelope wraps a raw protobuf payload with call metadata. Interceptors can inspect call info and decode the payload on demand.
Defined in:
grpc/interceptor.crConstructors
Instance Method Summary
- #codec : String | Nil
- #decode(type : T.class, marshaller : Marshaller(T) | Nil = nil) : T forall T
- #descriptor : String | Nil
- #info : CallInfo
- #raw : Bytes
Constructor Detail
def self.new(info : CallInfo, raw : Bytes, codec : String | Nil = nil, descriptor : String | Nil = nil)
#