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