Skip to content

@pumpkin-plugins/upnpumpkin-api API / watcher / openUrl

Function: openUrl() ​

openUrl(state): string | undefined

Defined in: tools/upnpumpkin-api/src/watcher.ts:78

The http:// base URL players reach a port at, once it is open.

Parameters ​

state ​

WatchedState | undefined

Returns ​

string | undefined

The URL, or undefined when the port isn't open.

Pumpkin Plugins documentation