AWSHttpResponse constructor

AWSHttpResponse({
  1. required int statusCode,
  2. Map<String, String>? headers,
  3. List<int>? body,
})

A parameterized HTTP response.

Implementation

AWSHttpResponse({
  required super.statusCode,
  super.headers,
  List<int>? body,
})  : bodyBytes = body ?? const [],
      super._();