public XNet(string url, XNetMode mode) { setDefault(); u = url; o = mode; }
public XNet(string url, XNetMethod method, XNetMode mode) { setDefault(); u = url; o = mode; m = method; }
private void setDefault() { m = XNetMethod.GET; h = new WebHeaderCollection(); o = XNetMode.Asynchronous; }