Esempio n. 1
0
 public HttpRequestInfo(string ARawHTTPCommand, string ARemoteIP, string ACommand, ContextRFC AContext)
 {
     _Context      = AContext;
     _CommandType  = HttpCommandEnum.Unknown;
     _Cookies      = new ServerCookies();
     ContentLength = -1;
 }
Esempio n. 2
0
 protected virtual void DecodeCommand()
 {
     for (int i = 0; i < Http.HttpCommandNames.Length; i++)
         if (Command.Equals(Http.HttpCommandNames[i], StringComparison.InvariantCultureIgnoreCase))
         {
             _CommandType = (HttpCommandEnum) i;
             break;
         }
 }
Esempio n. 3
0
 protected virtual void DecodeCommand()
 {
     for (int i = 0; i < Http.HttpCommandNames.Length; i++)
     {
         if (Command.Equals(Http.HttpCommandNames[i], StringComparison.InvariantCultureIgnoreCase))
         {
             _CommandType = (HttpCommandEnum)i;
             break;
         }
     }
 }
Esempio n. 4
0
 public HttpRequestInfo(string ARawHTTPCommand, string ARemoteIP, string ACommand, ContextRFC AContext)
 {
     _Context = AContext;
     _CommandType = HttpCommandEnum.Unknown;
     _Cookies = new ServerCookies();
     ContentLength = -1;
 }