toggle menu
krossbow
common
switch theme
search in API
krossbow-websocket-ktor
/
org.hildan.krossbow.websocket.ktor
/
KtorWebSocketClient
Ktor
Web
Socket
Client
class
KtorWebSocketClient
(
httpClient
:
HttpClient
=
HttpClient { install(WebSockets) }
)
:
WebSocketClient
(
source
)
Members
Constructors
Ktor
Web
Socket
Client
Link copied to clipboard
constructor
(
httpClient
:
HttpClient
=
HttpClient { install(WebSockets) }
)
Properties
supports
Custom
Headers
Link copied to clipboard
open
override
val
supportsCustomHeaders
:
Boolean
Functions
connect
Link copied to clipboard
open
suspend override
fun
connect
(
url
:
String
,
protocols
:
List
<
String
>
,
headers
:
Map
<
String
,
String
>
)
:
WebSocketConnectionWithPingPong