Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IHybridSocket

Hierarchy

  • IHybridSocket

Implemented by

Index

Methods

Methods

close

  • close(): void

emit

  • emit(evt: "close"): void

on

  • on(evt: "error", listener: function): void
  • on(evt: "message", listener: function): void

once

  • once(evt: "close", listener: function): void

send

  • send(msg: any, options?: object, listener?: function): void
  • Parameters

    • msg: any
    • Optional options: object
      • Optional binary?: boolean
    • Optional listener: function
        • (err?: Error): void
        • Parameters

          • Optional err: Error

          Returns void

    Returns void