MCPcopy Create free account
hub / github.com/EasyIME/PIME / request_time

Method request_time

python/python3/tornado/httputil.py:413–418  ·  view source on GitHub ↗

Returns the amount of time it took for this request to execute.

(self)

Source from the content-addressed store, hash-verified

411 return self.protocol + "://" + self.host + self.uri # type: ignore[operator]
412
413 def request_time(self) -> float:
414 """Returns the amount of time it took for this request to execute."""
415 if self._finish_time is None:
416 return time.time() - self._start_time
417 else:
418 return self._finish_time - self._start_time
419
420 def get_ssl_certificate(
421 self, binary_form: bool = False

Callers 2

_logMethod · 0.80
log_requestMethod · 0.80

Calls 1

timeMethod · 0.80

Tested by

no test coverage detected