Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SocketIoConnector

Hierarchy

Callable

Index

Properties

channels

channels: any

All of the subscribed channel names.

options

options: Config

Connector options.

socket

socket: Socket

The Socket.io connection instance.

Methods

channel

connect

  • connect(): void

disconnect

  • disconnect(): void

getSocketIO

  • getSocketIO(): SocketIOClientStatic
  • Get socket.io module from global scope or options.

    Returns SocketIOClientStatic

leave

  • leave(channel: string): void

listen

presenceChannel

privateChannel

socketId

  • socketId(): string