AWSStreamedHttpRequest.put constructor

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

Creates a PUT request for uri.

Implementation

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