Minimal WebSocket surface the adapter needs. Modeled on the ws package's API. Exposed so tests can inject a fake without pulling in ws or a real WS server.
ws
Optional
Minimal WebSocket surface the adapter needs. Modeled on the
wspackage's API. Exposed so tests can inject a fake without pulling inwsor a real WS server.