Skip to main content

Module codec

Module codec 

Source
Expand description

A tonic Codec that passes message bytes through untouched.

This is what makes the proxy schema-agnostic: tonic handles the gRPC length-prefix framing and hands us exactly one message body per decode call, so we never need the .proto to forward +proto payloads.

Structs§

BytesCodec
Encodes/decodes gRPC messages as opaque Bytes.
BytesDecoder
BytesEncoder