MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / Regular

Function Regular

web/src/js/components/Modes/Regular.tsx:16–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14import { ServerStatus } from "./CaptureSetup";
15
16export default function Regular() {
17 const serverState = useAppSelector((state) => state.modes.regular);
18 const backendState = useAppSelector((state) => state.backendState.servers);
19
20 const servers = serverState.map((server) => {
21 return (
22 <RegularRow
23 key={server.ui_id}
24 server={server}
25 backendState={backendState[getSpec(server)]}
26 />
27 );
28 });
29
30 return (
31 <div>
32 <h4 className="mode-title">Explicit HTTP(S) Proxy</h4>
33 <p className="mode-description">
34 You manually configure your client application or device to use
35 an HTTP(S) proxy.
36 </p>
37 {servers}
38 </div>
39 );
40}
41
42function RegularRow({
43 server,

Callers

nothing calls this directly

Calls 2

getSpecFunction · 0.90
mapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…