src/Client.php
public function sendHead( string $url, array $parameters = [], array $options = [] )
   {

      // The request URL
      $options[ 'url' ]    = $this->_buildUrl( $url, $parameters );
      // Getting the headers
      $options[ 'header' ] = true;
      // Get no body
      $options[ 'nobody' ] = true;

      return $this->_sendRequest( $options );

   }
public function sendHead( string $url, array $parameters = [], array $options = [] )
   {

      // The request URL
      $options[ 'url' ]    = $this->_buildUrl( $url, $parameters );
      // Getting the headers
      $options[ 'header' ] = true;
      // Get no body
      $options[ 'nobody' ] = true;

      return $this->_sendRequest( $options );

   }
public function sendHead ( string $ url , array $ parameters = [ ] , array $ options = [ ] ) { // The request URL $ options [ 'url' ] = $ this -> _buildUrl ( $ url , $ parameters ) ; // Getting the headers $ options [ 'header' ] = true ; // Get no body $ options [ 'nobody' ] = true ; return $ this -> _sendRequest ( $ options ) ; }
Executes a HEAD HTTP request to get all response headers.

If no external error handler is defined, on error here an ClientException is thrown

@param string $url        The request url.
@param array  $parameters Optional GET URL parameters.
@param array  $options    Known options are: headers, referer, timeout, toFile, attemptsMax, attemptsDelay
@return string|boolean    Returns a string on success or FALSE on error
Executes a HEAD HTTP request to get all response headers .