async fetch_list_firewall_policies()

in bindings/cloudflare/src/index.ts [129:137]


  async fetch_list_firewall_policies(options: EdgeRequestInit): Promise<ListFirewallPoliciesResponse> {
    const req = new FetchApiRequest(new Request(this.listFirewallPoliciesUrl, options));
    return this.fetch(req, {
      cf: {
        cacheEverything: true,
        cacheTtlByStatus: { "200-299": 600, 404: 1, "500-599": 0 },
      },
    }).then((response) => this.toListFirewallPoliciesResponse(response));
  }