Creates a new Config instance and initializes it with the provided options.
The native addon instance.
Optionaloptions: PinggyOptionsThe tunnel configuration options.
Gets the current argument string for the tunnel configuration.
The argument string, or null if unavailable.
Gets the current force configuration setting.
The force setting, or null if unavailable.
Gets the current HTTPS-only configuration setting.
The HTTPS-only setting, or null if unavailable.
Gets the current server address.
The server address, or null if unavailable.
Gets the current SNI server name.
The SNI server name, or null if unavailable.
Gets the current TCP forwarding address.
The TCP forwarding address, or null if unavailable.
Gets the current authentication token.
The authentication token, or null if unavailable.
Gets the current SSL configuration for the tunnel.
The SSL setting, or null if unavailable.
Gets the tunnel type.
The tunnel type, or null if unavailable.
Gets the current UDP forwarding address.
The UDP forwarding address, or null if unavailable.
Gets the tunnel type.
The tunnel type, or null if unavailable.
Sets the force configuration for the tunnel. When enabled, forces the tunnel to use specific settings or bypass certain restrictions.
Whether to enable force mode.
Sets the server address for the tunnel.
Optionaladdress: string = "a.pinggy.io:443"The server address.
Sets the authentication token for the tunnel.
The authentication token.
Represents the configuration for a Pinggy tunnel. Handles setting up and managing tunnel options and arguments for the native addon.