getHost

Top  Previous  Next

Returns the host name from the request url.

Definition

host = getHost()

 

host is a string containing the request host for example localhost if the URL was http://localhost/chat.lhtml

 

Alternative name

host = webserver:GetHost()

 

Provided for Girder 5 compatibility.

Availability

Lua context during page load.