Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IEventSource

Hierarchy

  • IEventSource

Index

Properties

Methods

Properties

Optional onerror

onerror: function

Type declaration

    • (reason: any): void
    • Parameters

      • reason: any

      Returns void

Optional onmessage

onmessage: function

Type declaration

    • (evt: MessageEvent): void
    • Parameters

      • evt: MessageEvent

      Returns void

Methods

close

  • close(): void

Generated using TypeDoc