Enables streaming. The gateway supports Server-Sent Events (SSE), HTTP/2
streaming, HTTP chunked transfer, WebSockets, and gRPC bidirectional
streaming.
The API config's backend deadline field governs how long a request
(unary or streaming) may run.
Enabling streaming on a gateway does not change how the deadline field
behaves on an SSE or chunked-transfer path. The deadline remains a
wall-clock bound on the complete response, so a stream is cut once the
deadline elapses regardless of how much data it is sending. The default
is 15 seconds and the maximum is 3,600 seconds.
On gRPC streaming and WebSockets, deadline bounds the gap between
messages instead: default 300 seconds; set deadline to change it, up
to 3,600 seconds. On WebSockets, a deadline of less than 300 seconds
is ignored and a 300-second minimum applies. The maximum total request
duration is always 3,600 seconds, not configurable.
STREAMING_MODE_ENABLED = 1;
STREAMING_MODE_ENABLED_VALUE
Enables streaming. The gateway supports Server-Sent Events (SSE), HTTP/2
streaming, HTTP chunked transfer, WebSockets, and gRPC bidirectional
streaming.
The API config's backend deadline field governs how long a request
(unary or streaming) may run.
Enabling streaming on a gateway does not change how the deadline field
behaves on an SSE or chunked-transfer path. The deadline remains a
wall-clock bound on the complete response, so a stream is cut once the
deadline elapses regardless of how much data it is sending. The default
is 15 seconds and the maximum is 3,600 seconds.
On gRPC streaming and WebSockets, deadline bounds the gap between
messages instead: default 300 seconds; set deadline to change it, up
to 3,600 seconds. On WebSockets, a deadline of less than 300 seconds
is ignored and a 300-second minimum applies. The maximum total request
duration is always 3,600 seconds, not configurable.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-06 UTC."],[],[]]