UriParser.parsePort
int parsePort(string p) @safeParse a decimal port number.
Parameters
p | Port string. |
Returns
The port number.
Throws
UriParseException if p is empty, non-numeric, or outside 0..65535.int parsePort(string p) @safeParse a decimal port number.
p | Port string. |
UriParseException if p is empty, non-numeric, or outside 0..65535.