Esempio n. 1
0
 public HttpRequestInfo(string ARawHTTPCommand, string ARemoteIP, string ACommand, ContextRFC AContext)
 {
     _Context      = AContext;
     _CommandType  = HttpCommandEnum.Unknown;
     _Cookies      = new ServerCookies();
     ContentLength = -1;
 }
    public HttpResponseInfo(TcpConnection<int, ReplyRFC> AConnection)
	  {
	    _CloseContentStream = true;
			ContentLength = Http.ContentLength;
      RawHeaders.FoldLines = false;
      _Cookies = new ServerCookies();
			ServerSoftware = Http.HttpServer_ServerSoftware;
			ContentType = Http.ContentType;
      _RemoteConnection = AConnection;      
			ResponseNo = Http.ResponseNo;
	  }
Esempio n. 3
0
 public HttpResponseInfo(TcpConnection <int, ReplyRFC> AConnection)
 {
     _CloseContentStream  = true;
     ContentLength        = Http.ContentLength;
     RawHeaders.FoldLines = false;
     _Cookies             = new ServerCookies();
     ServerSoftware       = Http.HttpServer_ServerSoftware;
     ContentType          = Http.ContentType;
     _RemoteConnection    = AConnection;
     ResponseNo           = Http.ResponseNo;
 }
Esempio n. 4
0
 public HttpRequestInfo(string ARawHTTPCommand, string ARemoteIP, string ACommand, ContextRFC AContext)
 {
     _Context = AContext;
     _CommandType = HttpCommandEnum.Unknown;
     _Cookies = new ServerCookies();
     ContentLength = -1;
 }