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.protocol
/
WsProtocol
Ws
Protocol
abstract
class
WsProtocol
Inheritors
AppSyncWsProtocol
GraphQLWsProtocol
ApolloWsProtocol
Members
Constructors
Ws
Protocol
Link copied to clipboard
constructor
(
webSocketConnection
:
WebSocketConnection
,
listener
:
WsProtocol.Listener
)
Types
Factory
Link copied to clipboard
interface
Factory
Listener
Link copied to clipboard
interface
Listener
Ws
Frame
Type
Link copied to clipboard
enum
WsFrameType
Functions
close
Link copied to clipboard
open
fun
close
(
)
connection
Init
Link copied to clipboard
abstract
fun
connectionInit
(
)
handle
Server
Message
Link copied to clipboard
abstract
fun
handleServerMessage
(
messageMap
:
Map
<
String
,
Any
>
)
run
Link copied to clipboard
open
fun
run
(
)
start
Operation
Link copied to clipboard
abstract
fun
<
D
:
Operation.Data
?
>
startOperation
(
request
:
ApolloRequest
<
D
>
)
stop
Operation
Link copied to clipboard
abstract
fun
<
D
:
Operation.Data
?
>
stopOperation
(
request
:
ApolloRequest
<
D
>
)