Please look at the following 
examples: https://github.com/grpc/grpc-go/tree/master/examples/features/metadata


On Sunday, December 12, 2021 at 5:49:43 AM UTC-8 [email protected] wrote:

> My client and server is in Go. The server is reading a pcap file and 
> sending to a cleint. Now I want to send a custom header with each packet of 
> this pcap file.
>
> On Thursday, 9 December 2021 at 22:06:49 UTC+5:30 Eric Anderson wrote:
>
>> What language is your server written in? gRPC's Metadata is sent as HTTP 
>> headers, so you want to add Metadata to each response.
>>
>> On Mon, Dec 6, 2021 at 9:43 PM gamer boii <[email protected]> wrote:
>>
>>> My grpc server is reading a pcap file and sending it to a backend 
>>> client. Now, I want to add some custom HTTP header to each packet before 
>>> sending it to the backend client. How can I do it? Are there any example 
>>> code I can look at? 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "grpc.io" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/grpc-io/63e92602-2cfa-4d19-9c3e-4d570026523an%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/grpc-io/63e92602-2cfa-4d19-9c3e-4d570026523an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/b393e4dc-6dbe-4464-b9b0-e01e8b41e467n%40googlegroups.com.

Reply via email to