Skip to content

@pumpkin-plugins/port-mapping API / testing/fake-router / FakeRouter

Interface: FakeRouter ​

Defined in: tools/port-mapping/src/testing/fake-router.ts:7

A router on localhost: the in-memory FakeIgd behind real UDP and HTTP sockets.

Properties ​

natPmp ​

natPmp: string

Defined in: tools/port-mapping/src/testing/fake-router.ts:12

address:port for router.nat_pmp_gateway.


ssdp ​

ssdp: string

Defined in: tools/port-mapping/src/testing/fake-router.ts:10

address:port for router.upnp_search.

Pumpkin Plugins documentation