diff --git a/httpclient.php b/httpclient.php index 3242aeb..b0699ea 100644 --- a/httpclient.php +++ b/httpclient.php @@ -474,6 +474,15 @@ class Httpclient } // }}} + /** Get meta data, like the timeout state, the crypto protocol and ciphers... + */ + public function getMeta () + // {{{ + { + return $this->tcpclient->getMeta (); + } + // }}} + ////////////////////////////////// //// THE ACTIVE METHODS //// ////////////////////////////////// diff --git a/tcpclient.php b/tcpclient.php index 1817e33..f66a80f 100644 --- a/tcpclient.php +++ b/tcpclient.php @@ -279,6 +279,15 @@ class tcpclient } // }}} + /** Get meta data, like the timeout state, the crypto protocol and ciphers... + */ + public function getMeta () + // {{{ + { + return stream_get_meta_data ($this->socket); + } + // }}} + /** Get the connection peer address, peer port and localaddress and localport * @return array */