public function request(
		string $request_uri=null, string $request_method='GET',
		array $args=[], array $cookie=[]
	) {
		self::$core->deinit()->reset();
		self::$core->config('home', '/');
		$_SERVER['REQUEST_URI'] = $request_uri
			? $request_uri : '/';
		$_SERVER['REQUEST_METHOD'] = $request_method;
		$_COOKIE = $cookie;
		if ($args)
			self::$core->override_callback_args($args);
		return self::$core;
	}