Exemple #1
0
 public static PanResponse ReturnContent(string content, List <PanCookie> cookies = null) //Return string (content)
 {
     return(PanResponse.ReturnContent(content, Encoding.UTF8, cookies));
 }
Exemple #2
0
        public static PanResponse ReturnHtml(string path, Encoding contentEncoding, List <PanCookie> cookies = null) // Return Html page
        {
            string html = File.ReadAllText(path);

            return(PanResponse.ReturnContent(html, contentEncoding, cookies));
        }
Exemple #3
0
 public static PanResponse ReturnEmtry(List <PanCookie> cookies = null)
 {
     return(PanResponse.ReturnContent("", cookies));
 }