Function URL.parsePort
Attempts to parse and set the port.
bool parsePort
(
U port
) pure nothrow @nogc @safe;
Parameters
Name | Description |
---|---|
port | String beginning with a colon followed by the port number and
an optional path (query string and/or fragment), like:
:12345/some_path or :12345 . |
Returns
Whether the port could found.