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

Function setContentViewFor

web/src/js/ducks/ui/flow.ts:21–27  ·  view source on GitHub ↗
(
            state,
            action: PayloadAction<{ messageId: string; contentView: string }>,
        )

Source from the content-addressed store, hash-verified

19 state.tab = action.payload;
20 },
21 setContentViewFor(
22 state,
23 action: PayloadAction<{ messageId: string; contentView: string }>,
24 ) {
25 state.contentViewFor[action.payload.messageId] =
26 action.payload.contentView;
27 },
28 },
29});
30

Callers 3

HttpMessageViewFunction · 0.90
MessagesFunction · 0.90
flowSpec.tsxFile · 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…