apollo-kotlin
3.8.2
common
apollo-runtime
/
com.apollographql.apollo3.network.ws
/
GraphQLWsProtocol
/
GraphQLWsProtocol
Graph
QLWs
Protocol
common
@
ApolloDeprecatedSince
(
version
=
ApolloDeprecatedSince.Version.v3_7_2
)
fun
GraphQLWsProtocol
(
connectionPayload
:
suspend
(
)
->
Map
<
String
,
Any
?
>
?
=
{ null }
,
pingPayload
:
Map
<
String
,
Any
?
>
?
=
null
,
pongPayload
:
Map
<
String
,
Any
?
>
?
=
null
,
connectionAcknowledgeTimeoutMs
:
Long
,
pingIntervalMillis
:
Long
,
frameType
:
WsFrameType
,
webSocketConnection
:
WebSocketConnection
,
listener
:
WsProtocol.Listener
,
scope
:
CoroutineScope
)
Content copied to clipboard
@
ApolloDeprecatedSince
(
version
=
ApolloDeprecatedSince.Version.v3_2_3
)
fun
GraphQLWsProtocol
(
connectionPayload
:
Map
<
String
,
Any
?
>
?
=
null
,
pingPayload
:
Map
<
String
,
Any
?
>
?
=
null
,
pongPayload
:
Map
<
String
,
Any
?
>
?
=
null
,
connectionAcknowledgeTimeoutMs
:
Long
,
pingIntervalMillis
:
Long
,
frameType
:
WsFrameType
,
webSocketConnection
:
WebSocketConnection
,
listener
:
WsProtocol.Listener
,
scope
:
CoroutineScope
)
Content copied to clipboard