Пример #1
0
 public HttpRequestInfo(string ARawHTTPCommand, string ARemoteIP, string ACommand, ContextRFC AContext)
 {
     _Context      = AContext;
     _CommandType  = HttpCommandEnum.Unknown;
     _Cookies      = new ServerCookies();
     ContentLength = -1;
 }
Пример #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;
         }
 }
Пример #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;
         }
     }
 }
Пример #4
0
 public HttpRequestInfo(string ARawHTTPCommand, string ARemoteIP, string ACommand, ContextRFC AContext)
 {
     _Context = AContext;
     _CommandType = HttpCommandEnum.Unknown;
     _Cookies = new ServerCookies();
     ContentLength = -1;
 }