WebSocket

constructor(url: URL, protocols: String = definedExternally)(source)
constructor(url: String, protocols: ReadonlyArray<String>)(source)
constructor(url: URL, protocols: ReadonlyArray<String>)(source)
constructor(url: String, protocols: String = definedExternally)(source)