Set the URI for the next request
string $uri:
public function setUri($uri) {
if (!is_string($uri)) {
$uri = strval($uri);
}
if (!preg_match('/^http(s?):/', $uri)) {
throw new InvalidArgumentException("EasyRdf_Http_Client only supports the 'http' and 'https' schemes.");
}
$this->uri = $uri;
return $this;
}