Close the SocketIO object. This doesn't close the underlying socket, except if all references to it have disappeared.
(self)
| 786 | return self._mode |
| 787 | |
| 788 | def close(self): |
| 789 | """Close the SocketIO object. This doesn't close the underlying |
| 790 | socket, except if all references to it have disappeared. |
| 791 | """ |
| 792 | if self.closed: |
| 793 | return |
| 794 | io.RawIOBase.close(self) |
| 795 | self._sock._decref_socketios() |
| 796 | self._sock = None |
| 797 | |
| 798 | |
| 799 | def getfqdn(name=''): |
nothing calls this directly
no test coverage detected