Expand description
multipart/mixed streaming responses — the server counterpart to
toolkit_contract::runtime::multipart.
Sits beside super::sse as the second wire framing for a long-lived
streaming endpoint: one JSON item per body part, for server-to-server
consumers, where SSE serves browser-direct EventSource-style ones.
This is streaming response framing only. multipart/form-data requests,
mixed per-part content types and Content-Disposition are all out of scope,
and the boundary= parameter is generated here rather than declared by the
author.
Structs§
- Boundary
Error - A caller-supplied boundary was rejected by
MultipartJsonStream::with_boundary. - Multipart
Json Stream - A
multipart/mixedstreaming response, one JSON part per item.