The cURL class is an object oriented wrapper around the PHP cURL extension functions. The cURL extension is often used as an HTTP client to access remote Web pages or Web services via HTTP. The class provides functions to set the cURL extension options, execute HTTP requests, and retrieve the response headers and bodies.