grpc-json transcoder and stream requests/responses

233 views
Skip to first unread message

cto...@gmail.com

unread,
Aug 15, 2018, 4:03:32 AM8/15/18
to envoy-users
How does the grpc-json transcoder map JSON HTTP/1.1 to/from grpc calls with streaming requests or responses? E.g. can a client provide multiple JSON-encoded request messages to map to a streaming grpc request, and vice-versa for response? Or does the transcoder only support unary requests/responses?

thx,
Chris

cto...@gmail.com

unread,
Aug 16, 2018, 12:22:31 AM8/16/18
to envoy-users
I experimented with this today and found that it uses an array of messages as the expected/generated JSON input and output formats.

This would be helpful to add to the documentation.

Chris

Matt Klein

unread,
Aug 16, 2018, 10:40:41 AM8/16/18
to cto...@gmail.com, envoy-users
Documentation PRs appreciated.

--
You received this message because you are subscribed to the Google Groups "envoy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-users+unsubscribe@googlegroups.com.
To post to this group, send email to envoy...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/f8732d78-746e-4c84-83f2-d67e72ca51e8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Chris Toomey

unread,
Aug 16, 2018, 3:41:17 PM8/16/18
to Matt Klein, envoy-users
Reply all
Reply to author
Forward
0 new messages