Zend_Http_Client_Adapter_Socket::close PHP Méthode

close() public méthode

Close the connection to the server
public close ( )
    public function close()
    {
        if (is_resource($this->socket)) {
            @fclose($this->socket);
        }
        $this->socket = null;
        $this->connected_to = array(null, null);
    }

Usage Example

Exemple #1
0
 /**
  * Close the connection to the server
  *
  */
 public function close()
 {
     parent::close();
     $this->negotiated = false;
 }
All Usage Examples Of Zend_Http_Client_Adapter_Socket::close