Zend_Http_Client_Adapter_Socket::close PHP 메소드

close() 공개 메소드

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

예제 #1
0
파일: Proxy.php 프로젝트: DBezemer/server
 /**
  * Close the connection to the server
  *
  */
 public function close()
 {
     parent::close();
     $this->negotiated = false;
 }
All Usage Examples Of Zend_Http_Client_Adapter_Socket::close