KtorWebSocketConnector
A connector on a client of its own, on the platform's engine named above and with WebSocket pings off (RFC 8323 §4.4); close closes it. It serves coap+ws everywhere, and coaps+ws only where that engine authenticates wss servers (the table above).
A connector on client, which must have the WebSockets plugin installed, preferably without a ping interval (RFC 8323 §4.4: WebSocket pings SHOULD NOT be used). The application closes it.
It serves coap+ws and coaps+ws: passing client is the application's word that its engine authenticates a wss server by a chain its trust store accepts and that names the host (RFC 8323 §9.2, RFC 9525 §6). On the JVM and Android, CIO's TLS does not check names fully (see above).