Questions tagged [grpc-kotlin]
18 questions
0
votes
1 answer
gRPC Context return null when I use SimpleForwardingServerCallListener
I want to override sendMessage, sendHeaders, onMessage, onHalfClose methods in ServerInterceptor (with Context):
val context = Context.current().withValue(TestConstants.CONTEXT_KEY, "testValue1")
val delegatedCall = object :…

FredSuvn
- 1,869
- 2
- 12
- 19
0
votes
1 answer
How can I access header in a service?
I'm trying to handle JWT-authentication in gRPC on my backend. I can extract the JWT in an interceptor but how do I access it in my service? I think it should be done with a CoroutineContextServerInterceptor but this doesn't work:
val jwtKey:…

linust
- 25
- 4
-1
votes
2 answers
Do gRPC clients have any caching functionality?
Do gRPC clients have any caching functionality, e.g. like GraphQL clients have? Without having tried gRPC yet, that's currently the only thing that would keep me from doing tihs.

stefan.at.kotlin
- 15,347
- 38
- 147
- 270