Class defaultAbstract

Browser connection base interface

Hierarchy

Constructors

Properties

debug: boolean

Methods

  • Connect

    Parameters

    • onMessage: ((message, origin, source) => void)

      Message handler

        • (message, origin, source): void
        • Parameters

          • message: any
          • origin: string
          • source: any

          Returns void

    • onDisconnect: (() => void)

      trigger when runtime connection in closed

        • (): void
        • Returns void

    Returns void

Generated using TypeDoc