Set whether or not field names and values should be rawurlencoded
Parameters
bool $encode Set whether or not to encode:
Return value
QueryString
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/QueryString.php, line 232
Class
- QueryString
- Query string object to handle managing query string parameters and aggregating those parameters together as a string.
Namespace
Guzzle\Http
Code
public function useUrlEncoding($encode) {
$this->urlEncode = $encode;
return $this;
}