def get_connect_duration(self):
if self._start_connect is None:<EOL><INDENT>raise TimeoutStateError("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>return current_time() - self._start_connect<EOL>
Gets the time elapsed since the call to :meth:`start_connect`.

        :return: Elapsed time.
        :rtype: float
        :raises urllib3.exceptions.TimeoutStateError: if you attempt
            to get duration for a timer that hasn't been started.