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

Sending metadata alongside a request #58

Open
bterwin opened this issue Oct 20, 2023 · 2 comments
Open

Sending metadata alongside a request #58

bterwin opened this issue Oct 20, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@bterwin
Copy link

bterwin commented Oct 20, 2023

I'm attempting to add additional metadata alongside my request.

An example utilizing ruby would be

response = stub.rpc_call(req, {metadata: {key1: value1, key2: value2}})

Does similar functionality exist within this library?

@Slids
Copy link
Member

Slids commented Nov 3, 2023

Not currently, no

@Slids Slids added the enhancement New feature or request label Nov 3, 2023
@Slids
Copy link
Member

Slids commented Nov 4, 2023

I think #60 has most of it.
When you make the call, take the metadata, create the
grpc_metadata, but it in the grpc_metadata_struct, pass it through
to the call...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants