WebSocket-based ONC-RPC transport.
Each call sends one WebSocket binary message and waits for one reply. Suitable for browsers and Cloudflare Workers.
Connect to an ONC-RPC WebSocket endpoint.
Send one encoded ONC-RPC call message and wait for the matching reply.
Close the WebSocket connection.
WebSocket-based ONC-RPC transport.
Each call sends one WebSocket binary message and waits for one reply. Suitable for browsers and Cloudflare Workers.