Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mitmproxy/mitmproxy
/ is_h3_alpn
Function
is_h3_alpn
mitmproxy/proxy/layers/http/__init__.py:97–98 ·
view source on GitHub ↗
(alpn: bytes | None)
Source
from the content-addressed store, hash-verified
95
96
97
def
is_h3_alpn(alpn: bytes | None) -> bool:
98
return
alpn == b
"h3"
or (alpn is not None and alpn.startswith(b
"h3-"
))
99
100
101
@dataclass
Callers
3
_handle_event
Method · 0.85
_handle_event
Method · 0.85
render_priority
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…