Name
url:SetPort -- get port part of URL (V2.0)
Synopsis
url:SetPort(port$[, flags])
Function
Sets the port for the URL. The given port number must be provided as a string and the decimal number must be between 1 and 65535. Anything else will return an error. You can also pass Nil to unset the port in the URL handle.

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
port$
port to get
flags
optional: combination of flags

Show TOC