Пример #1
0
 //public WebHttpSession(dynamic Value, WebSessionDataType Type = WebSessionDataType.String) {  base.Value = Value; this.Type = Type; }
 public WebHttpSession(WebHttpSessionRaw session)
 {
     foreach (string key in session.Keys)
     {
         dic.Add(key, session.GetString(key));
     }
 }
Пример #2
0
 public WebHttpContextRaw(IWebHttpRequest Request, IWebHttpResponse Response, WebHttpSessionRaw Session, IWebHttpInfo Info, IWebSocketContext Socket)
 {
     this.Request = Request; this.Response = Response; this.Session = Session; this.Info = Info; this.Socket = Socket;
 }