MCPcopy
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
97def 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_eventMethod · 0.85
_handle_eventMethod · 0.85
render_priorityMethod · 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…