Skip to content

Conversation

@bananacocodrilo
Copy link

@bananacocodrilo bananacocodrilo commented Jan 30, 2026

Summary

This PR adds a new --rpc-encoding flag that allows users to override the value of the RPC-Encoding header for gRPC and HTTP transports.

Motivation

Developers need the ability to specify different values for the rpc-encoding header without affecting the actual serialization.

Changes

  • Added --rpc-encoding flag to TransportOptions in options.go
  • Updated transport.go to use the custom value when specified, falling back to the default behavior otherwise

Usage

yab --rpc-encoding=custom-value -p localhost:8080 -s myservice ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants