Class defaultAbstract

Browser connection base interface

Hierarchy

Constructors

Properties

debug: boolean

Methods

  • Connect

    Parameters

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

      Message handler

        • (message: any, origin: string, source: any): 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