A minimal websocket the client drives — the test seam. The 'message'
handler receives the frame text; 'close'/'error' handlers ignore the
argument (a single signature keeps the interface trivially implementable
by the real ws adapter and the test mock).
A minimal websocket the client drives — the test seam. The
'message'handler receives the frame text;'close'/'error'handlers ignore the argument (a single signature keeps the interface trivially implementable by the realwsadapter and the test mock).