streamSend static method
Sends a request to uri
using the HTTP method specified by method
and
returns a StreamedResponse
. Includes request headers
and a request
body
if given.
Secure cookies (credentials) will be included (in the browser) if
withCredentials
is true.
Implementation
static Future<StreamedResponse> streamSend(String method, Uri uri,
{String? body,
Map<String, String>? headers,
TransportPlatform? transportPlatform,
bool? withCredentials}) =>
_createRequest(uri,
body: body,
headers: headers,
transportPlatform: transportPlatform,
withCredentials: withCredentials)
.streamSend(method);