1 # http\Client\Request http\Client\Request::setQuery([mixed $query_data = NULL])
3 (Re)set the querystring.
4 See http\Client\Request::addQuery() and http\Message::setRequestUrl().
8 * mixed $query_data, new querystring data.
12 * http\Client\Request, self.
16 * http\Exception\InvalidArgumentException
17 * http\Exception\BadQueryStringException
22 $q = new http\QueryString("foo=bar&bar=foo");
23 $r = new http\Client\Request;
25 var_dump($r->getRequestUrl());
30 string(33) "http://localhost/?foo=bar&bar=foo"