Наследование: 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();
        }