public void Handshake() { string html = HttpRequests.Get(url, true); if (html != null) { PotamOSController.Engine.NewPage(UIPages.Handshake, html); } }
public void GetTest() { string response = HttpRequests.Get(goodurl, true); Assert.IsNotNull(response, "Call to Google should return something."); response = null; response = HttpRequests.Get(badurl, true); Assert.IsNull(response, "Call to Badhost should return null."); }