lithium\net\socket\Stream::close()
Implements
lithium\net\Socket::close()
Closes the stream
Returns
booleanTrue on closed connection
Source
public function close() {
return !is_resource($this->_resource) || fclose($this->_resource);
}