PHPDaemon\Servers\WebSocket\Pool::routeExists PHP Method

routeExists() public method

Checks if route exists
public routeExists ( string $path ) : boolean
$path string Route name
return boolean Exists?
    public function routeExists($path)
    {
        $routeName = ltrim($path, '/');
        return isset($this->routes[$routeName]);
    }