URI.usesDefaultPort

Tests if @uri uses the default port for its scheme. (Eg, 80 for http.) (This only works for http, https and ftp; libsoup does not know the default ports of other protocols.)

class URI
bool
usesDefaultPort
()

Return Value

Type: bool

%TRUE or %FALSE

Meta