toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-web
/
web.sockets
/
WebSocket
/
WebSocket
Web
Socket
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
)