Hey y'all. I notice the stubs generated have the h...
# grpc
t
Hey y'all. I notice the stubs generated have the headers as an optional parameter to the service method. I really want to send response headers/trailers from the stub code. It seems like the way is via interceptors and threadlocals and coroutineContexts so that mutable things in the threadlocal get updated. That seems really painful to just add a response header. Am I missing something to have my stubbs return a Pair of <RESP, Metadata> ?