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