상속: PolicyBasedWebRequest
예제 #1
0
 		public BrowserHttpWebRequestInternal (BrowserHttpWebRequest wreq, Uri uri)
			: base (wreq, uri)
 		{
			started = Events.SafeDispatcher (OnAsyncResponseStarted);
			available = Events.SafeDispatcher (OnAsyncDataAvailable);
			finished = Events.SafeDispatcher (OnAsyncResponseStopped);
			managed = GCHandle.Alloc (this, GCHandleType.Normal);
			aborted = false;
			if (wreq != null) {
				request = wreq.request;
				Headers = wreq.Headers;
			}
			dispatcher = new Dispatcher ();
		}
예제 #2
0
 		public BrowserHttpWebRequestInternal (BrowserHttpWebRequest wreq, Uri uri)
			: base (wreq, uri)
 		{
			started = StartedSafe;
			available = AvailableSafe;
			finished = FinishedSafe;

			managed = GCHandle.Alloc (this, GCHandleType.Normal);
			aborted = false;
			if (wreq != null) {
				request = wreq.request;
				Headers = wreq.Headers;
			}
			dispatcher = new Dispatcher ();
		}
예제 #3
0
        public BrowserHttpWebRequestInternal(BrowserHttpWebRequest wreq, Uri uri)
            : base(wreq, uri)
        {
            started   = StartedSafe;
            available = AvailableSafe;
            finished  = FinishedSafe;

            managed = GCHandle.Alloc(this, GCHandleType.Normal);
            aborted = false;
            if (wreq != null)
            {
                request = wreq.request;
                Headers = wreq.Headers;
            }
            dispatcher = new Dispatcher();
        }