BackendServiceConnection | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Class BackendServiceConnection

    Base class for service connections

    Implements

    • Disposable
    Index

    Constructors

    Methods

    • Invoke to close this connection. This will cause onClose to be invoked

      Returns void

    • Parameters

      • link: LinkState

      Returns void

    • Emit an event to the client

      Parameters

      • event: string
      • data: unknown

      Returns void

    • Invoked when the client explicitly closed the connection

      Returns void