read_default_port

Function read_default_port 

Source
pub fn read_default_port(
    config: Option<&ServerConfiguration>,
    is_https: bool,
) -> Option<u16>
Expand description

Reads the default port from the given server configuration.