Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PromisedWebSockets

Hierarchy

  • PromisedWebSockets

Index

Constructors

Methods

  • readExactly(number: number): Promise<Buffer>
  • read(number: number): Promise<Buffer>
  • readAll(): Promise<Buffer>
  • getWebSocketLink(ip: string, port: number, testServers: boolean): string
  • connect(port: number, ip: string, testServers?: boolean): Promise<unknown>
  • write(data: Buffer): void
  • close(): Promise<void>
  • receive(): Promise<void>
  • toString(): string

Generated using TypeDoc