Name
url:GetPort -- get port part of URL (V2.0)
Synopsis
port$ = url:GetPort([flags])
Function
Gets the port for the URL. The given port number will be provided as a string and the decimal number will be between 1 and 65535.

The optional flags parameter can be a combination of flags as described in the documentation of the hurl.URL() function. See hurl.URL for details.

Inputs
flags
optional: combination of flags
Results
port$
port part of URL

Show TOC