ProxyRequest constructor

ProxyRequest({
  1. required String method,
  2. required String path,
  3. Map<String, String> headers = const {},
  4. String? body,
  5. DateTime? timestamp,
})

Implementation

ProxyRequest({
  required this.method,
  required this.path,
  this.headers = const {},
  this.body,
  DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();