Exemple #1
0
 public MyWebResponse GetResponse()
 {
     if (response == null || response.socket == null || response.socket.Connected == false)
     {
         response = new MyWebResponse();
         response.Connect(this);
         response.SetTimeout(Timeout);
     }
     response.SendRequest(this);
     response.ReceiveHeader();
     return(response);
 }
Exemple #2
0
 public MyWebResponse GetResponse()
 {
     if (response == null || response.socket == null || response.socket.Connected == false)
     {
         response = new MyWebResponse();
         response.Connect(this);
         response.SetTimeout(Timeout);
     }
     response.SendRequest(this);
     response.ReceiveHeader();
     return response;
 }