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

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

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