Ejemplo n.º 1
0
        public void TestSendQueuedRequest()
        {
            // add request
            var req = new WebRequest
            {
                Url    = @"http://boomlings.com/database/accounts/loginGJAccount.php",
                Method = HttpMethod.Post
            };

            client.AddRequest(req);

            // send request
            var funky = client.SendRequest();

            Assert.AreEqual(funky, "-1", "HTTP Requests are working.");
        }