Remote::head PHP 메소드

head() 공개 정적인 메소드

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