Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CsHTTPRequest"/> class.
        /// </summary>
        /// <param name="client">The TcpClient.</param>
        /// <param name="Parent">The Server instance (TcpListener).</param>
        /// <remarks>Documented by Dev10, 2008-08-07</remarks>
        public CsHTTPRequest(TcpClient client, CsHTTPServer Parent)
        {
            this.client = client;
            this.Parent = Parent;

            this.HTTPResponse.BodySize = 0;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CsHTTPRequest"/> class.
        /// </summary>
        /// <param name="client">The TcpClient.</param>
        /// <param name="Parent">The Server instance (TcpListener).</param>
        /// <remarks>Documented by Dev10, 2008-08-07</remarks>
        public CsHTTPRequest(TcpClient client, CsHTTPServer Parent)
        {
            this.client = client;
            this.Parent = Parent;

            this.HTTPResponse.BodySize = 0;
        }