Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StreamingSocket

A WebSocket wrapper that exposes all events as a stream.

This underlying socket will not be closed when the stream has no listeners

Hierarchy

  • StreamingSocket

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

connected

connected: Promise<void>

events

Methods

connect

  • connect(): void

disconnect

  • disconnect(): void

send

  • send(data: string): Promise<void>

Generated using TypeDoc