Prashant Agarwal Prashant Agarwal - 1 year ago 141
Ruby Question

How to add metadata through grpc ruby client?

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

Answer Source

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

metadata = { 'key' : 'value' }
response = service.method(argument, metadata)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download