Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gapic: add top level example(s) of using SetHeaders #1455

Open
noahdietz opened this issue Feb 4, 2024 · 0 comments
Open

gapic: add top level example(s) of using SetHeaders #1455

noahdietz opened this issue Feb 4, 2024 · 0 comments
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@noahdietz
Copy link
Collaborator

We have the callctx.SetHeaders package that allows users to set request headers regardless of underlying transport.

We need to add a doc section for setting headers, especially with a system parameter like x-goog-fieldmask.

Note: gRPC requires that the system param keys be lower case, which we should highlight.

Motivation: googleapis/google-cloud-go#9303

@noahdietz noahdietz added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant