src/Ratchet/Wamp/WampConnection.php
public function getUri($uri) {
        $curieSeperator = ':';

        if (preg_match('/http(s*)\:\/\//', $uri) == false) {
            if (strpos($uri, $curieSeperator) !== false) {
                list($prefix, $action) = explode($curieSeperator, $uri);
                
                if(isset($this->WAMP->prefixes[$prefix]) === true){
                  return $this->WAMP->prefixes[$prefix] . '#' . $action;
                }
            }
        }

        return $uri;
    }
public function getUri($uri) {
        $curieSeperator = ':';

        if (preg_match('/http(s*)\:\/\//', $uri) == false) {
            if (strpos($uri, $curieSeperator) !== false) {
                list($prefix, $action) = explode($curieSeperator, $uri);
                
                if(isset($this->WAMP->prefixes[$prefix]) === true){
                  return $this->WAMP->prefixes[$prefix] . '#' . $action;
                }
            }
        }

        return $uri;
    }
public function getUri ( $ uri ) { $ curieSeperator = ':' ; if ( preg_match ( '/http(s*)\:\/\//' , $ uri ) == false ) { if ( strpos ( $ uri , $ curieSeperator ) !== false ) { list ( $ prefix , $ action ) = explode ( $ curieSeperator , $ uri ) ; if ( isset ( $ this -> WAMP -> prefixes [ $ prefix ] ) === true ) { return $ this -> WAMP -> prefixes [ $ prefix ] . '#' . $ action ; } } } return $ uri ; }
Get the full request URI from the connection object if a prefix has been established for it
@param string $uri
@return string
Get the full request URI from the connection object if a prefix has been established for it