public XmlHttpRequest(IWindow window) { _window = window; _async = true; _method = HttpMethod.Get; _headers = new Dictionary <String, String>(); _url = null; _mime = null; _responseUrl = String.Empty; _responseText = String.Empty; _readyState = RequesterState.Unsent; _responseStatus = (HttpStatusCode)0; _credentials = false; _timeout = 45000; }
public XmlHttpRequest(IWindow window) { _window = window; _async = true; _method = HttpMethod.Get; _cancel = new CancellationTokenSource(); _headers = new Dictionary<String, String>(); _url = null; _mime = null; _responseUrl = String.Empty; _responseText = String.Empty; _readyState = RequesterState.Unsent; _responseStatus = (HttpStatusCode)0; _credentials = false; _timeout = 45000; }