Support for `response_body` option of gRPC-JSON transcoding
See original GitHub issueA JSON body of a gRPC response should be extracted if response_body option is specified.
https://github.com/googleapis/googleapis/blob/master/google/api/http.proto#L354-L360
We can extract the content of the field specified in response_body before sending a response.
https://github.com/line/armeria/blob/daae15d426ffb2581fdff9f10f16ec69f90b7a36/grpc/src/main/java/com/linecorp/armeria/server/grpc/AbstractUnframedGrpcService.java#L200-L202
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
gRPC-JSON transcoder - Envoy Proxy
This is a filter which allows a RESTful JSON API client to send requests to Envoy over HTTP and get proxied to a...
Read more >convert grpc-message to body in response · Issue #3383 ...
I've a REST client and a gRPC server and I'm using Envoy's grpc-json transcoder. When an exception is thrown by gRPC server with...
Read more >Configure HTTP and JSON for gRPC JSON transcoding
Transcoding deserializes the request body JSON to the request message. The body field specifies how the HTTP request body maps to the request ......
Read more >Transcoding gRPC to HTTP/JSON using Envoy - JDriven Blog
Annotating the service with HTTP options for transcoding ... The HTTP response body will be the JSON representation of all non-empty fields ...
Read more >Transcoding HTTP/JSON to gRPC - Cloud Endpoints
Cloud Endpoints supports protocol transcoding so that clients can access your gRPC API by using HTTP/JSON. The Extensible Service Proxy (ESP) transcodes ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We can remove the content-length header from response headers but it does not look good. How about passing a
Function<HttpData, HttpData> responseBodyConvertertoframeAndServeand using it insingleSubscriber?@ikhoon You can assign this to me