system/HTTP/CURLRequest.php
public function request($method, string $url, array $options = []): ResponseInterface
	{
		$this->parseOptions($options);

		$url = $this->prepareURL($url);

		$method = filter_var($method, FILTER_SANITIZE_STRING);

		$this->send($method, $url);

		return $this->response;
	}
public function request($method, string $url, array $options = []): ResponseInterface
	{
		$this->parseOptions($options);

		$url = $this->prepareURL($url);

		$method = filter_var($method, FILTER_SANITIZE_STRING);

		$this->send($method, $url);

		return $this->response;
	}
Sends an HTTP request to the specified $url. If this is a relative
URL, it will be merged with $this->baseURI to form a complete URL.

@param $method
@param string $url
@param array  $options

@return \CodeIgniter\HTTP\ResponseInterface