diff --git a/cloudflare/fetch/http.go b/cloudflare/fetch/http.go new file mode 100644 index 0000000..7e85ace --- /dev/null +++ b/cloudflare/fetch/http.go @@ -0,0 +1,10 @@ +package fetch + +import ( + "net/http" +) + +// Do sends an HTTP request and returns an HTTP response +func (c *Client) Do(req *Request) (*http.Response, error) { + return fetch(c.namespace, req.Request) +}