Inner streaming client interface. This implements the Cometd behavior. Also allows for mocking the functional behavior.

Hierarchy

  • StreamingClientIfc

Properties

getCometClient: ((url) => CometClient)

Type declaration

    • (url): CometClient
    • Returns a comet client implementation.

      Parameters

      • url: string

        The target url of the streaming service endpoint.

      Returns CometClient

setLogger: ((logLine) => void)

Type declaration

    • (logLine): void
    • Sets the logger function for the CometClient.

      Parameters

      • logLine: ((message) => void)

        A log message passed to the the assigned function.

          • (message): void
          • Parameters

            • message: string

            Returns void

      Returns void