Documentation to ->hostname on how to get the hostname of the server.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Request.pm
index c058daa..f974f3f 100644 (file)
@@ -316,7 +316,7 @@ Returns an L<HTTP::Headers> object containing the headers for the current reques
 
 =head2 $req->hostname
 
-Returns the hostname of the client.
+Returns the hostname of the client. Use $req->uri->host to get the hostname of the server.
 
 =head2 $req->input