URI.setPort

Sets @uri's port to @port. If @port is 0, @uri will not have an explicitly-specified port.

class URI
void
setPort
(
uint port
)

Parameters

port uint

the port, or 0

Meta