MCPcopy
hub / github.com/mitmproxy/mitmproxy / masked

Function masked

test/mitmproxy/proxy/layers/test_websocket.py:43–44  ·  view source on GitHub ↗
(unmasked: bytes)

Source from the content-addressed store, hash-verified

41
42# noinspection PyTypeChecker
43def masked(unmasked: bytes) -> bytes:
44 return _Masked(unmasked) # type: ignore
45
46
47def masked_bytes(unmasked: bytes) -> bytes:

Callers 7

test_maskingFunction · 0.85
test_upgradeFunction · 0.85
test_upgrade_streamedFunction · 0.85
test_protocol_errorFunction · 0.85
test_pingFunction · 0.85
test_close_normalFunction · 0.85
test_close_codeFunction · 0.85

Calls 1

_MaskedClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…