MCPcopy
hub / github.com/webpack/webpack-dev-server / CommunicationClient

Interface CommunicationClient

client-src/globals.d.ts:1–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1declare interface CommunicationClient {
2 onOpen(fn: (...args: any[]) => void): void;
3 onClose(fn: (...args: any[]) => void): void;
4 onMessage(fn: (...args: any[]) => void): void;
5}
6
7declare interface CommunicationClientConstructor {
8 new (url: string): CommunicationClient; // Defines a constructor that takes a string and returns a GreeterInstance

Callers 6

socketFunction · 0.65
socketFunction · 0.65
socketFunction · 0.65

Implementers 2

WebSocketClienttest/fixtures/custom-client/CustomWebS
WebSocketClientclient-src/clients/WebSocketClient.js

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…