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 (); }
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 (); }
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(); }