CloudflareResponse constructor

const CloudflareResponse({
  1. Object? body,
  2. int status = 200,
  3. Map<String, String> headers = const <String, String>{},
  4. CloudflareWebSocket? webSocket,
})

Creates a CloudflareResponse value.

Implementation

const CloudflareResponse({
  this.body,
  this.status = 200,
  this.headers = const <String, String>{},
  this.webSocket,
});