RESTful Streaming
HTTP Stream extends normal HTTP mapping with long-connection streaming interactions.
Common annotations:
@server_stream@client_stream@bidi_stream@stream_codec("ndjson" | "sse")
In practice:
- Server push streaming is the most common.
ndjsonis the default stream encoding.sseis mainly used for server-side streaming.- These capabilities exist but are more implementation-driven than standard HTTP mapping.