Hi All,

I'm a newbie with regards to gRPC and have been reading and searching a lot 
the last couple of days, but I can't seem to find the right answer. I have 
a service definition in my proto that looks like this:

   /// Requests a function to be executed as specified in the header.
    rpc ExecuteFunction (stream BundledRows) returns (stream BundledRows) {}

So in the generated code I get:

public 
io.grpc.stub.StreamObserver<net.reeuwijk.qlik.aai.regexp.BundledRows> 
executeFunction(
      
 io.grpc.stub.StreamObserver<net.reeuwijk.qlik.aai.regexp.BundledRows> 
responseObserver) {

Which is expected. However in the code of this method I need access to 
header information. In the Python implementation I can get this from the 
context. I have looked at adding an HeaderInterceptor, but this looks way 
to complicated :-)

So my question. In order to get the metadata out of the headers do I need 
to use the HeaderInterceptor? or is there another way?

Any hints, tips or trips are highly appreciated.

Regards,
Bas van Reeuwijk

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/41222d23-9b8e-4fad-a068-d0ce0cfd6484%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to