InvokeFrame is one frame in a streaming invocation. The first frame is always
metadata; subsequent frames carry data bytes produced by the operation
handler (after encoding, for typed item streams). A mid-stream error (for
example, a validation failure or a recovered panic) may emit a trailing
metadata frame with a non-2xx status followed by a data frame carrying a
JSON error body, after which the stream ends.
InvokeFrame is one frame in a streaming invocation. The first frame is always metadata; subsequent frames carry data bytes produced by the operation handler (after encoding, for typed item streams). A mid-stream error (for example, a validation failure or a recovered panic) may emit a trailing metadata frame with a non-2xx status followed by a data frame carrying a JSON error body, after which the stream ends.