MCPcopy
hub / github.com/mitmproxy/mitmproxy / OpenConnection

Class OpenConnection

mitmproxy/proxy/commands.py:85–91  ·  view source on GitHub ↗

Open a new connection

Source from the content-addressed store, hash-verified

83
84
85class OpenConnection(ConnectionCommand):
86 """
87 Open a new connection
88 """
89
90 connection: Server
91 blocking = True
92
93
94class CloseConnection(ConnectionCommand):

Callers 15

_handle_eventMethod · 0.90
test_open_connectionFunction · 0.90
test_open_connection_errFunction · 0.90
test_simpleFunction · 0.90
no_flow_hooksFunction · 0.90
test_injectFunction · 0.90
test_upstream_httpsFunction · 0.90

Calls

no outgoing calls

Tested by 15

_handle_eventMethod · 0.72
test_open_connectionFunction · 0.72
test_open_connection_errFunction · 0.72
test_simpleFunction · 0.72
no_flow_hooksFunction · 0.72
test_injectFunction · 0.72
test_upstream_httpsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…