HttpRequest constructor

HttpRequest({
  1. String method = '',
  2. String uri = '',
  3. List<HttpHeader> headers = const [],
  4. Uint8List? body,
})

Implementation

HttpRequest({
  this.method = '',
  this.uri = '',
  this.headers = const [],
  Uint8List? body,
}) : body = body ?? Uint8List(0),
     super(fullyQualifiedName);