public function transportUrl()
    {
        $proto = $this->getConfig('tls') ? 'wss' : 'ws';
        $port = intval($this->getConfig('port'));
        if($port>0) {
            $port = ':'.$port;
        }
        else {
            $port = '';
        }
        return $proto.'://'.$this->getConfig('host').$port.$this->getConfig('path');
    }
public function transportUrl()
    {
        $proto = $this->getConfig('tls') ? 'wss' : 'ws';
        $port = intval($this->getConfig('port'));
        if($port>0) {
            $port = ':'.$port;
        }
        else {
            $port = '';
        }
        return $proto.'://'.$this->getConfig('host').$port.$this->getConfig('path');
    }
public function transportUrl ( ) { $ proto = $ this -> getConfig ( 'tls' ) ? 'wss' : 'ws' ; $ port = intval ( $ this -> getConfig ( 'port' ) ) ; if ( $ port > 0 ) { $ port = ':' . $ port ; } else { $ port = '' ; } return $ proto . '://' . $ this -> getConfig ( 'host' ) . $ port . $ this -> getConfig ( 'path' ) ; }
Get the transport URL that provider should connect to.

@return string
Get the transport URL that provider should connect to .