Open a Server-Sent Events stream and yield parsed { event, data }
records. Supports any method + JSON body (unlike requestStream, which is
GET-only), so it backs the generated stream() methods for
x-sdk-streaming endpoints. Honors auth + one-shot 401 refresh and throws
ApiError on a non-2xx response before the stream opens.
Open a Server-Sent Events stream and yield parsed
{ event, data }records. Supports any method + JSON body (unlikerequestStream, which is GET-only), so it backs the generatedstream()methods forx-sdk-streamingendpoints. Honors auth + one-shot 401 refresh and throwsApiErroron a non-2xx response before the stream opens.