MCPcopy
hub / github.com/agalwood/Motrix / init

Method init

src/main/core/UPnPManager.js:15–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 }
14
15 init () {
16 if (client) {
17 return
18 }
19
20 client = new NatAPI({
21 autoUpdate: true
22 })
23 }
24
25 map (port) {
26 this.init()

Callers 2

mapMethod · 0.95
unmapMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected