Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-web
/
web.sockets
/
WebSocket
/
WebSocket
Web
Socket
constructor
(
url
:
URL
,
protocol
:
String
=
definedExternally
)
(
source
)
constructor
(
url
:
String
,
protocols
:
ReadonlyArray
<
JsString
>
)
(
source
)
constructor
(
url
:
URL
,
protocols
:
ReadonlyArray
<
JsString
>
)
(
source
)
constructor
(
url
:
String
,
protocol
:
String
=
definedExternally
)
(
source
)