public function sendDigestAuthentication($url, $username, $password = null)
    {
        $this->httpClient->setDigestAuthentication($username, $password);

        return $this->httpClient->get($url);
    }
public function sendDigestAuthentication($url, $username, $password = null)
    {
        $this->httpClient->setDigestAuthentication($username, $password);

        return $this->httpClient->get($url);
    }
public function sendDigestAuthentication ( $ url , $ username , $ password = null ) { $ this -> httpClient -> setDigestAuthentication ( $ username , $ password ) ; return $ this -> httpClient -> get ( $ url ) ; }
Send digest authentication to the server via GET.

@param  string $username
@param  string $password optional
@return string
Send digest authentication to the server via GET .