Esempio n. 1
0
 internal ChunkedRequestStream(
     Stream stream, byte[] buffer, int offset, int count, HttpListenerContext context)
     : base(stream, buffer, offset, count)
 {
     _context = context;
     _decoder = new ChunkStream((WebHeaderCollection)context.Request.Headers);
 }
Esempio n. 2
0
 internal ChunkedRequestStream (
   Stream stream, byte[] buffer, int offset, int count, HttpListenerContext context)
   : base (stream, buffer, offset, count)
 {
   _context = context;
   _decoder = new ChunkStream ((WebHeaderCollection) context.Request.Headers);
 }