function HTTP_Request::disconnect in Flickr API 5
Disconnect the socket, if connected. Only useful if using Keep-Alive.
@access public
1 call to HTTP_Request::disconnect()
- HTTP_Request::sendRequest in phpFlickr/
PEAR/ HTTP/ Request.php - Sends the request
File
- phpFlickr/
PEAR/ HTTP/ Request.php, line 819
Class
- HTTP_Request
- Class for performing HTTP requests
Code
function disconnect() {
if (!empty($this->_sock) && !empty($this->_sock->fp)) {
$this
->_notify('disconnect');
$this->_sock
->disconnect();
}
}