Inheritance: SocketHandler
        private byte[] _byteBuffer = new byte[1]; // buffer for reading bytes 


        internal HttpChunkedReadingStream(HttpSocketHandler inputStream)
        { 
            _inputStream = inputStream;
 
            _bytesLeft = 0; 
        } // HttpChunkedReadingStream
Beispiel #2
0
        private byte[] _byteBuffer = new byte[1];      // buffer for reading bytes


        internal HttpChunkedReadingStream(HttpSocketHandler inputStream)
        {
            _inputStream = inputStream;

            _bytesLeft = 0;
        } // HttpChunkedReadingStream
        private int _bytesLeft;                               // bytes left in current chunk 

        internal HttpFixedLengthReadingStream(HttpSocketHandler inputStream, int contentLength) 
        { 
            _inputStream = inputStream;
            _bytesLeft = contentLength; 
        } // HttpFixedLengthReadingStream
Beispiel #4
0
        private int _bytesLeft;                         // bytes left in current chunk

        internal HttpFixedLengthReadingStream(HttpSocketHandler inputStream, int contentLength)
        {
            _inputStream = inputStream;
            _bytesLeft   = contentLength;
        } // HttpFixedLengthReadingStream