MCPcopy
hub / github.com/mitmproxy/mitmproxy / refresh

Method refresh

mitmproxy/platform/windows.py:214–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

212 return self._map.__len__()
213
214 def refresh(self):
215 self._map = {}
216 self._refresh_ipv4()
217 self._refresh_ipv6()
218
219 def _refresh_ipv4(self):
220 ret = ctypes.windll.iphlpapi.GetExtendedTcpTable( # type: ignore

Callers 2

connectionsFunction · 0.95
handleMethod · 0.45

Calls 2

_refresh_ipv4Method · 0.95
_refresh_ipv6Method · 0.95

Tested by

no test coverage detected