'Provides the unix timestamp for when our socket was either connected or
disconnected. That is to say, the time we connected if we\'re currently
connected and the time we disconnected if we\'re not connected.
.. versionadded:: 1.3.0
:returns: **float** for when we last connected or disconnected, zero if
we\'ve never connected'

def connection_time(self):

    return self._socket.connection_time()
