Example #1
0
        public XNet(string url, XNetMode mode)
        {
            setDefault();

            u = url;
            o = mode;
        }
Example #2
0
        public XNet(string url, XNetMethod method, XNetMode mode)
        {
            setDefault();

            u = url;
            o = mode;
            m = method;
        }
Example #3
0
 private void setDefault()
 {
     m = XNetMethod.GET;
     h = new WebHeaderCollection();
     o = XNetMode.Asynchronous;
 }