MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / register_connection

Method register_connection

mitmproxy/proxy/mode_servers.py:86–88  ·  view source on GitHub ↗
(
        self, connection_id: tuple | str, handler: ProxyConnectionHandler
    )

Source from the content-addressed store, hash-verified

84
85 @contextmanager
86 def register_connection(
87 self, connection_id: tuple | str, handler: ProxyConnectionHandler
88 ): ... # pragma: no cover
89
90
91class ServerInstance(Generic[M], metaclass=ABCMeta):

Callers 1

handle_streamMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected