Overwrites WebSocket methods with the typed rest-vir replacements, attaches WebSocket listeners, and waits for the WebSocket to be opened.
An already-constructed WebSocket instance.
@rest-vir/api
Overwrites WebSocket methods with the typed rest-vir replacements, attaches WebSocket listeners, and waits for the WebSocket to be opened.