toggle menu
apollo-kdoc
4.1.1-SNAPSHOT
4.1.1-SNAPSHOT
3.8.2
apple
common
js
jvmCommon
wasmJs
switch theme
search in API
apollo-runtime
/
com.apollographql.apollo.network.ws
/
DefaultWebSocketEngine
Default
Web
Socket
Engine
apple
common
js
jvmCommon
wasmJs
actual
class
DefaultWebSocketEngine
expect
class
DefaultWebSocketEngine
:
WebSocketEngine
actual
class
DefaultWebSocketEngine
actual
class
DefaultWebSocketEngine
actual
class
DefaultWebSocketEngine
Members
Constructors
Default
Web
Socket
Engine
Link copied to clipboard
apple
common
js
jvmCommon
wasmJs
constructor
(
webSocketFactory
:
NSWebSocketFactory
)
actual
constructor
(
)
expect
constructor
(
)
constructor
(
)
constructor
(
webSocketFactory
:
<Error class: unknown class>
)
actual
constructor
(
)
actual
constructor
(
)
Functions
open
Link copied to clipboard
apple
common
js
jvmCommon
wasmJs
actual
open
suspend
fun
open
(
url
:
String
,
headers
:
List
<
HttpHeader
>
)
:
WebSocketConnection
expect
open
suspend override
fun
open
(
url
:
String
,
headers
:
List
<
HttpHeader
>
)
:
WebSocketConnection
Open the websocket. Suspends until the handshake is done
actual
open
suspend
fun
open
(
url
:
String
,
headers
:
List
<
HttpHeader
>
)
:
WebSocketConnection
actual
open
suspend
fun
open
(
url
:
String
,
headers
:
List
<
HttpHeader
>
)
:
WebSocketConnection
actual
open
suspend
fun
open
(
url
:
String
,
headers
:
List
<
HttpHeader
>
)
:
WebSocketConnection