struct

GRPC::RequestEnvelope

Inherits Struct < Value < Object

RequestEnvelope wraps a raw protobuf payload with call metadata. Interceptors can inspect call info and decode the payload on demand.

Constructors

new(info : CallInfo, raw : Bytes, codec : String | Nil = nil, descriptor : String | Nil = nil)
Source

Instance methods

codec
Source
decode(type : T.class, marshaller : Marshaller(T) | Nil = nil) : T forall T
Source
descriptor
Source
info
Source