getPort

Top  Previous  Next

Returns the host name from the request url.

Definition

port = getPort()

 

host is a number containing the request host port number.

Availability

Lua context during page load.