webSocket
fun webSocket(url: String, name: String = url, cwd: String = "/", files: AcpFileSystem? = null, client: OkHttpClient = DefaultHttpClient): AcpAgent(source)
An agent reached over WebSocket at url (ws:// or wss://), with the ACP Kotlin SDK's WebSocket transport. client carries TLS, proxies and timeouts.