Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Connector

Hierarchy

Callable

Index

Properties

channels

channels: any

All of the subscribed channel names.

options

options: Config

Connector options.

Methods

channel

  • channel(channel: string): Channel

connect

  • connect(): void

disconnect

  • disconnect(): void

leave

  • leave(channel: string): void

listen

  • listen(name: string, event: string, callback: function): Channel
  • Listen for an event on a channel instance.

    Parameters

    • name: string
    • event: string
    • callback: function
        • (event: any): void
        • Parameters

          • event: any

          Returns void

    Returns Channel

presenceChannel

privateChannel

socketId

  • socketId(): string