See the uri() method:
$r->uri( $val )This is used to get/set the uri attribute. The $val can be a reference to a URI object or a plain string. If a string is given, then it should be parseable as an absolute URI.
Though I'm not at all sure why you wouldn't just construct a new one?
In reply to Re: How to reuse a http::request object?
by BrowserUk
in thread How to reuse a http::request object?
by lmocsi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |