AWSStreamedHttpRequest.post constructor

AWSStreamedHttpRequest.post(
  1. Uri uri, {
  2. Stream<List<int>>? body,
  3. int? contentLength,
  4. Map<String, String>? headers,
  5. bool? followRedirects,
  6. int? maxRedirects,
})

Creates a POST request for uri.

Implementation

AWSStreamedHttpRequest.post(
  Uri uri, {
  Stream<List<int>>? body,
  int? contentLength,
  Map<String, String>? headers,
  bool? followRedirects,
  int? maxRedirects,
}) : this(
       method: AWSHttpMethod.post,
       uri: uri,
       headers: headers,
       body: body,
       contentLength: contentLength,
       followRedirects: followRedirects,
       maxRedirects: maxRedirects,
     );