MockClientStreamHandler typedef
MockClientStreamHandler =
Future<StreamedResponse> Function(BaseRequest request, ByteStream bodyStream)
A handler function that receives StreamedRequests and sends StreamedResponses.
Note that request
will be finalized.
Implementation
typedef MockClientStreamHandler = Future<StreamedResponse> Function(
BaseRequest request, ByteStream bodyStream);