Http3Request constructor

Http3Request({
  1. required String method,
  2. required String path,
  3. Map<String, String> headers = const {},
  4. Uint8List? body,
})

Creates an HTTP/3 request.

method and path are required. headers defaults to an empty map and body defaults to null.

Implementation

Http3Request({
  required this.method,
  required this.path,
  this.headers = const {},
  this.body,
});