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

Function defaultReverseState

web/src/js/modes/reverse.ts:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10
11export const defaultReverseState = (): ReverseState => ({
12 active: false,
13 protocol: ReverseProxyProtocols.HTTPS,
14 destination: "",
15 ui_id: Math.random(),
16});
17
18export const getSpec = (state: ReverseState): string => {
19 return includeListenAddress(

Callers 3

reverse.tsFile · 0.90
updateStateFunction · 0.90
tutils.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…