Close the SocketIO object. This doesn't close the underlying socket, except if all references to it have disappeared.
(self)
| 795 | return self._mode |
| 796 | |
| 797 | def close(self): |
| 798 | """Close the SocketIO object. This doesn't close the underlying |
| 799 | socket, except if all references to it have disappeared. |
| 800 | """ |
| 801 | if self.closed: |
| 802 | return |
| 803 | io.RawIOBase.close(self) |
| 804 | self._sock._decref_socketios() |
| 805 | self._sock = None |
| 806 | |
| 807 | |
| 808 | def getfqdn(name=''): |
nothing calls this directly
no test coverage detected