jellyfin-sdk-kotlin
Toggle table of contents
latest-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
jellyfin-sdk-kotlin
jellyfin-api-okhttp
/
org.jellyfin.sdk.api.okhttp
/
OkHttpSocketConnection
Ok
Http
Socket
Connection
class
OkHttpSocketConnection
(
client
:
OkHttpClient
,
scope
:
CoroutineScope
)
:
SocketConnection
Members
Constructors
Ok
Http
Socket
Connection
Link copied to clipboard
constructor
(
client
:
OkHttpClient
,
scope
:
CoroutineScope
)
Properties
state
Link copied to clipboard
open
override
val
state
:
StateFlow
<
SocketConnectionState
>
Functions
connect
Link copied to clipboard
open
suspend override
fun
connect
(
url
:
String
,
authorization
:
String
)
:
Boolean
disconnect
Link copied to clipboard
open
suspend override
fun
disconnect
(
)
send
Link copied to clipboard
open
suspend override
fun
send
(
message
:
String
)
:
Boolean