diff --git a/httpclient.php b/httpclient.php index b0699ea..b1a215e 100644 --- a/httpclient.php +++ b/httpclient.php @@ -4,6 +4,8 @@ * @author Dominique Fournier */ +require_once ("domframework/tcpclient.php"); + /** This programe allow to get a HTTP page from a site, and examine the content. * It will store the Cookies, allow to do the redirects, follow links and * get form / input and send the values. @@ -483,6 +485,13 @@ class Httpclient } // }}} + /** Return the TCP infos of the connection + */ + public function getInfo () + { + return $this->tcpclient->getInfo (); + } + ////////////////////////////////// //// THE ACTIVE METHODS //// //////////////////////////////////