Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UhstSocket

Implemented by

Index

Properties

Methods

Properties

Readonly remoteId

remoteId: string

Methods

close

  • close(): any

handleMessage

  • handleMessage(message: Message): any

off

  • off<EventName>(eventName: EventName, handler: SocketEventSet[EventName]): any

on

  • on<EventName>(eventName: EventName, handler: SocketEventSet[EventName]): any

once

  • once<EventName>(eventName: EventName, handler: SocketEventSet[EventName]): any

send

  • send(message: string): Promise<any>
  • send(message: Blob): Promise<any>
  • send(message: ArrayBuffer): Promise<any>
  • send(message: ArrayBufferView): Promise<any>

Generated using TypeDoc