Closes and removes all managed tunnels.
Calls TunnelInstance#stop on each tunnel.
Creates a new tunnel with the given options.
The tunnel configuration options.
The created tunnel instance.
Creates and starts a new tunnel with the given options.
The tunnel configuration options.
Resolves with the started tunnel instance.
Enable or disable debug logging for both the native library (libpinggy)
Whether to enable debug logging (default: false).
OptionallogLevel: LogLevelOptional logging level to apply (default: LogLevel.INFO).
OptionallogFilePath: string | nullOptional file path to write logs to; pass null to disable file logging.
void
Main entry point for managing Pinggy tunnels.
This singleton class provides methods to create, manage, and control tunnels using the Pinggy service.
Use pinggy (the exported instance) to access these methods.
Methods return or interact with TunnelInstance objects.