AWSStreamedHttpRequest.post constructor

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

Creates a POST request for uri.

Implementation

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