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

Method onOpen

web/src/js/backends/static.tsx:20–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 }
19
20 onOpen() {
21 this.fetchData(Resource.Flows);
22 this.fetchData(Resource.Options);
23 // this.fetchData("events") # TODO: Add events log to static viewer.
24 }
25
26 fetchData(resource: Resource) {
27 fetchApi(`./${resource}`)

Callers 2

constructorMethod · 0.95
websocketSpec.tsxFile · 0.45

Calls 1

fetchDataMethod · 0.95

Tested by

no test coverage detected