src/Core/WebSocket.php
public static function getPort() {
        global $CFG;
        if ( ! self::enabled() ) return null;
        $pieces = parse_url($CFG->websocket_url);
        return U::get($pieces,'port');
    }
public static function getPort() {
        global $CFG;
        if ( ! self::enabled() ) return null;
        $pieces = parse_url($CFG->websocket_url);
        return U::get($pieces,'port');
    }
public static function getPort ( ) { global $ CFG ; if ( ! self :: enabled ( ) ) return null ; $ pieces = parse_url ( $ CFG -> websocket_url ) ; return U :: get ( $ pieces , 'port' ) ; }
Returns the port that the configured web socket server
Returns the port that the configured web socket server