public function setRouteOptions($path, $opts)
{
$routeName = ltrim($path, '/');
if (!isset($this->routes[$routeName])) {
Daemon::log(__METHOD__ . ': Route \'' . $path . '\' is not found.');
return false;
}
$this->routeOptions[$routeName] = $opts;
return true;
}