Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebSocketClient

Index

Properties

Methods

Properties

socket: WebSocket

The raw WebSocket instance

advanced

Methods

  • send(payload: HMRPayload): void
  • send(event: string, payload?: any): void
  • Send event to the client

    Parameters

    Returns void

  • Send custom event

    Parameters

    • event: string
    • Optional payload: any

    Returns void