disconnect() public method

Disconnect from socket.
public disconnect ( ) : boolean
return boolean
Beispiel #1
0
 public function testDisconnect()
 {
     $http = new Http($this->_testConfig);
     $result = $http->connect();
     $this->assertTrue($result);
     $result = $http->disconnect();
     $this->assertTrue($result);
 }