protected function loadWebsocketRoutes()
    {
        $routePath = $this->container->make('config')
            ->get('swoole_websocket.route_file');

        if (! file_exists($routePath)) {
            $routePath = __DIR__ . '/../../routes/websocket.php';
        }

        return require $routePath;
    }
protected function loadWebsocketRoutes()
    {
        $routePath = $this->container->make('config')
            ->get('swoole_websocket.route_file');

        if (! file_exists($routePath)) {
            $routePath = __DIR__ . '/../../routes/websocket.php';
        }

        return require $routePath;
    }
protected function loadWebsocketRoutes ( ) { $ routePath = $ this -> container -> make ( 'config' ) -> get ( 'swoole_websocket.route_file' ) ; if ( ! file_exists ( $ routePath ) ) { $ routePath = __DIR__ . '/../../routes/websocket.php' ; } return require $ routePath ; }
Load websocket routes file.
Load websocket routes file .