I have a fairly simple use case - check the headers of an incoming RPC call 
for a special string indicating authorization to use the service. Currently 
I am experimenting based off of this example 
https://github.com/grpc/grpc/blob/7bf82de9eda0aa8fecfe5edb33834f1b272be30b/test/cpp/end2end/server_interceptors_end2end_test.cc.
 
Specifically the `LoggerInterceptor` example. The happy path involves 
calling `Proceed` on the `InterceptorBatchMethods`, but `Hijack` kills the 
program.

My main question is how do I `fail` the connection when the authorization 
is not present?

Sincerely,
Aleks

-- 
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/ee6d85c6-8ff2-4e64-9c11-6223f476d2d0n%40googlegroups.com.

Reply via email to