createCloudflareRequest function

CloudflareRequest createCloudflareRequest(
  1. String url, {
  2. String method = 'GET',
  3. Map<String, String> headers = const <String, String>{},
  4. Object? body,
})

Performs the createCloudflareRequest operation.

Implementation

CloudflareRequest createCloudflareRequest(
  String url, {
  String method = 'GET',
  Map<String, String> headers = const <String, String>{},
  Object? body,
}) =>
    throw UnsupportedError('Cloudflare bindings require a JavaScript runtime.');