Disconnect from socket.
public disconnect ( ) : boolean | ||
Результат | boolean |
public function testDisconnect() { $http = new Http($this->_testConfig); $result = $http->connect(); $this->assertTrue($result); $result = $http->disconnect(); $this->assertTrue($result); }