original_string: private function setRequestUrl() {
      if ($this->tryGetOption(CURLOPT_URL, $value) && $value) {
        if (static::isSupportedUrlScheme($value, $scheme)) {
          $this->request->setUrl($value);
          return true;
        } else {
          $this->setError(CURLE_UNSUPPORTED_PROTOCOL,
                         sprintf("Unsupported protocol '%s'", $scheme));
        }
      } else {
        $this->setError(CURLE_URL_MALFORMAT, "No URL set!");
      }
      return false;
    }
code: private function setRequestUrl() {
      if ($this->tryGetOption(CURLOPT_URL, $value) && $value) {
        if (static::isSupportedUrlScheme($value, $scheme)) {
          $this->request->setUrl($value);
          return true;
        } else {
          $this->setError(CURLE_UNSUPPORTED_PROTOCOL,
                         sprintf("Unsupported protocol '%s'", $scheme));
        }
      } else {
        $this->setError(CURLE_URL_MALFORMAT, "No URL set!");
      }
      return false;
    }
code_tokens: private function setRequestUrl ( ) { if ( $ this -> tryGetOption ( CURLOPT_URL , $ value ) && $ value ) { if ( static :: isSupportedUrlScheme ( $ value , $ scheme ) ) { $ this -> request -> setUrl ( $ value ) ; return true ; } else { $ this -> setError ( CURLE_UNSUPPORTED_PROTOCOL , sprintf ( "Unsupported protocol '%s'" , $ scheme ) ) ; } } else { $ this -> setError ( CURLE_URL_MALFORMAT , "No URL set!" ) ; } return false ; }
docstring: Configure the request URL.
  
  @returns boolean True if the URL could be set, False otherwise. If false
  then error_number and error_string will be set accordingly.
docstring_tokens: Configure the request URL .