Pinggy SDK - v0.2.13
    Preparing search index...

    Class Pinggy

    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.

    Index

    Functions

    • Returns the Pinggy native library version string.

      Returns string

      The version string from the native library.

      pinggy

    Accessors

    Methods

    • Enable or disable debug logging for both the native library (libpinggy)

      Parameters

      • enabled: boolean = false

        Whether to enable debug logging (default: false).

      • OptionallogLevel: LogLevel

        Optional logging level to apply (default: LogLevel.INFO).

      • OptionallogFilePath: string | null

        Optional file path to write logs to; pass null to disable file logging.

      Returns void

      void

      pinggy