Close the SocketIO object. This doesn't close the underlying socket, except if all references to it have disappeared.
(self)
| 767 | return self._mode |
| 768 | |
| 769 | def close(self): |
| 770 | """Close the SocketIO object. This doesn't close the underlying |
| 771 | socket, except if all references to it have disappeared. |
| 772 | """ |
| 773 | if self.closed: |
| 774 | return |
| 775 | io.RawIOBase.close(self) |
| 776 | self._sock._decref_socketios() |
| 777 | self._sock = None |
| 778 | |
| 779 | |
| 780 | def getfqdn(name=''): |
nothing calls this directly
no test coverage detected