sseRequestPostSendStreamed function
Sends the GET request with the specified URI, headers, body,
and encoding. Transforms ByteStream to
Map<String, dynamic> for every event.
Implementation
Future<Stream<Map<String, dynamic>>> sseRequestPostSendStreamed({
required Uri uri,
Client? client,
Map<String, String>? headers,
Map<String, dynamic>? body,
Encoding? encoding,
}) {
return SseRequest.post(
uri: uri,
headers: headers,
body: body,
encoding: encoding,
).sendStreamed(client);
}