grpc_json_transcoder: add newline-delimited streaming option (#22868)

Add newline-delimited streaming option for grpc json transcoder

Signed-off-by: Alex Pearson <alex@alexpear.com>

Mirrored from https://github.com/envoyproxy/envoy @ e3e781d7f9c256ad763feb50d43699388ac9f4e8
pull/626/head
data-plane-api(Azure Pipelines) 2 years ago
parent b97ee1f9cf
commit 4fe226daf2
  1. 4
      envoy/extensions/filters/http/grpc_json_transcoder/v3/transcoder.proto

@ -45,6 +45,7 @@ message GrpcJsonTranscoder {
ALL_CHARACTERS = 2;
}
// [#next-free-field: 6]
message PrintOptions {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions";
@ -68,6 +69,9 @@ message GrpcJsonTranscoder {
// generate JSON field names using the ``json_name`` option, or lower camel case,
// in that order. Setting this flag will preserve the original field names. Defaults to false.
bool preserve_proto_field_names = 4;
// If true, return all streams as newline-delimited JSON messages instead of as a comma-separated array
bool stream_newline_delimited = 5;
}
message RequestValidationOptions {

Loading…
Cancel
Save