My gRPC client and server is written in Go. My client reads a pcap file and sends it to a backend. Now with each packet I want to send a custom header. How to do this?
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 <noahc...@gmail.com> 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 grpc-io+u...@googlegroups.com. >> 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 grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/d25aeacb-6c49-43a8-bced-697f8b2f5748n%40googlegroups.com.