How to grab the full URL in a plugin? When writing a plugin is there a Craft request to grab the entire url? I want to grab everything including http://domain.com/uri preferably without writing my own function.

I see getUrl but craft()-&gt;request-&gt;url only returns 'uri' of http://domain.com/uri.
You're probably looking for something like:

craft()-&gt;request-&gt;getHostInfo().craft()-&gt;request-&gt;getRequestUri();


Which will return the host name with the schema it's using (http:// or https://) as well as any URI after the host including any querystring parameters.