kotlin-stdlib / org.w3c.dom / WebSocket / <init> <init> JS 1.1 WebSocket ( url : String , protocols : dynamic = definedExternally ) Exposes the JavaScript WebSocket to Kotlin