grpc-java icon indicating copy to clipboard operation
grpc-java copied to clipboard

Logging response body

Open lesliechang opened this issue 8 years ago • 2 comments

I'm trying to log the response body using the ServerInterceptor but can't figure out where the get this information. The close() in SimpleForwardingServerCall only has Status and Metadata.

lesliechang avatar Mar 06 '18 21:03 lesliechang

sendMessage(ReqT) is passed the response message.

ejona86 avatar Mar 06 '18 23:03 ejona86

Great, thanks!

lesliechang avatar Mar 06 '18 23:03 lesliechang