Exemplo n.º 1
0
 private static void OnAddFavoriteRequested(string request, PageCompiler compiler, ref Socket socket)
 {
     Favorites.AddFavorite(Utility.ParseUrl(request, "id"));
     Core.Server.SendToBrowser(String.Format(Utility.META_REDIRECT, "http://localhost.:1980/favorites.html"), ref socket);
 }