Prashant Agarwal Prashant Agarwal - 3 months ago 29
Ruby Question

How to add metadata through grpc ruby client?

How to add metadata through grpc ruby client? example code snippet will help.

Answer

Metadata is an optional parameter to any method call. For example:

metadata = { 'key' : 'value' }
response = service.method(argument, metadata)
Comments