Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mitmproxy/mitmproxy
/ is_valid_port
Function
is_valid_port
mitmproxy/net/check.py:42–43 ·
view source on GitHub ↗
(port: int)
Source
from the content-addressed store, hash-verified
40
41
42
def
is_valid_port(port: int) -> bool:
43
return
0 <= port <= 65535
Callers
1
parse_authority
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…