MCPcopy Index your code
hub / github.com/nodejs/node / __init__

Method __init__

deps/ngtcp2/ngtcp2/examples/tests/ngtcp2test/server.py:19–26  ·  view source on GitHub ↗
(self, env: Env, logfile: LogFile)

Source from the content-addressed store, hash-verified

17class ServerRun:
18
19 def __init__(self, env: Env, logfile: LogFile):
20 self.env = env
21 self._logfile = logfile
22 self.log_lines = self._logfile.get_recent()
23 self._data_recs = None
24 self._hs_recs = None
25 if self.env.verbose > 1:
26 log.debug(f'read {len(self.log_lines)} lines from {logfile.path}')
27
28 @property
29 def handshake(self):

Callers

nothing calls this directly

Calls 2

get_recentMethod · 0.80
debugMethod · 0.80

Tested by

no test coverage detected