toggle menu
krossbow
jvm
switch theme
search in API
krossbow-websocket-okhttp
/
org.hildan.krossbow.websocket.okhttp
/
OkHttpWebSocketClient
Ok
Http
Web
Socket
Client
class
OkHttpWebSocketClient
(
client
:
OkHttpClient
=
OkHttpClient()
)
:
WebSocketClient
(
source
)
Members
Constructors
Ok
Http
Web
Socket
Client
Link copied to clipboard
constructor
(
client
:
OkHttpClient
=
OkHttpClient()
)
Properties
supports
Custom
Headers
Link copied to clipboard
open
override
val
supportsCustomHeaders
:
Boolean
=
true
Functions
connect
Link copied to clipboard
open
suspend override
fun
connect
(
url
:
String
,
protocols
:
List
<
String
>
,
headers
:
Map
<
String
,
String
>
)
:
WebSocketConnection