Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ValveSoftware/GameNetworkingSockets
/ refresh
Method
refresh
tests/stun_server.py:73–74 ·
view source on GitHub ↗
(self, lifetime)
Source
from the content-addressed store, hash-verified
71
return
time.monotonic() > self.expiry
72
73
def
refresh(self, lifetime):
74
self.expiry = time.monotonic() + lifetime
75
76
77
# allocations keyed by (client_ip, client_port)
Callers
1
_handle_refresh_request
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected