Remote::head PHP Method

head() public static method

Static method to send a HEAD request
public static head ( string $url, array $params = [] ) : object
$url string
$params array
return object Response
    public static function head($url, $params = array())
    {
        $defaults = array('method' => 'HEAD');
        $request = new self($url, array_merge($defaults, $params));
        return $request->response();
    }