toggle menu
apollo-kdoc
4.1.1-SNAPSHOT
4.1.1-SNAPSHOT
3.8.2
jvm
switch theme
search in API
apollo-runtime-java
/
com.apollographql.apollo.runtime.java.network.ws
/
WebSocketConnection
Web
Socket
Connection
open
class
WebSocketConnection
Members
Constructors
Web
Socket
Connection
Link copied to clipboard
constructor
(
webSocketFactory
:
WebSocket.Factory
,
serverUrl
:
String
,
headers
:
List
<
HttpHeader
>
)
Functions
close
Link copied to clipboard
open
fun
close
(
)
is
Open
Link copied to clipboard
open
fun
isOpen
(
)
:
Boolean
open
Link copied to clipboard
open
fun
open
(
)
receive
Link copied to clipboard
@
Nullable
open
fun
receive
(
timeoutMs
:
Long
)
:
String
send
Link copied to clipboard
open
fun
send
(
message
:
String
)
open
fun
send
(
message
:
ByteString
)