Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DebugChannel

A closeable channel to send debug protocol messages over with error/close handling

Hierarchy

  • DebugChannel

Implemented by

Index

Methods

  • close(): void
  • onClose(cb: ((code: number, reason: string) => void)): void
  • onError(cb: ((reason: unknown) => void)): void
  • onMessage(cb: ((message: string) => void)): void
  • send(content: string): void