Ejemplo n.º 1
0
        public WebRequestStream(Stream srcStream, WebRequest request, WebRequestService service)
        {
            _requestStream           = srcStream;
            _PostDisposeOperations   = new Stack <WebRequestStreamDisposeOperation>();
            _PreDisposeOperations    = new Stack <WebRequestStreamDisposeOperation>();
            _DisposeOperationsParams = new Dictionary <WebRequestStreamDisposeOperation, object[]>();

            WrittenBytes = 0;
        }
Ejemplo n.º 2
0
        public WebRequestStream(Stream srcStream, WebRequest request, WebRequestService service)
        {
            _requestStream = srcStream;
            _PostDisposeOperations = new Stack<WebRequestStreamDisposeOperation>();
            _PreDisposeOperations = new Stack<WebRequestStreamDisposeOperation>();
            _DisposeOperationsParams = new Dictionary<WebRequestStreamDisposeOperation, object[]>();

            WrittenBytes = 0;
        }
 public WebResponseStream(Stream srcStream, WebResponse response, WebRequestService service)
 {
     _responseStream = srcStream;
     _response = response;
     _service = service;
 }
 public WebResponseStream(Stream srcStream, WebResponse response, WebRequestService service)
 {
     _responseStream = srcStream;
     _response       = response;
     _service        = service;
 }