public function findWebSocketRoute()
    {
        $pathinfo = !empty($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] != '/' ? $_SERVER['PATH_INFO'] : '/index';

        foreach ($this->routes as $value) {
            if ($value['method'] == 'WEBSOCKET') {
                $route_uri = '/' . implode('/', $value['params']);

                if ($pathinfo === $route_uri) {
                    return $value['controller'];
                }
            }
        }

        return '';
    }