AppSyncWsProtocol

Constructors

Link copied to clipboard
constructor(webSocketConnection: WebSocketConnection, listener: WsProtocol.Listener, authorization: Map<String, Any>, connectionAcknowledgeTimeoutMs: Long)

Types

Link copied to clipboard

Functions

Link copied to clipboard
@NotNull
open fun buildUrl(@NotNull baseUrl: String, @NotNull authorization: Map<String, Any>, @NotNull payload: Map<String, Any>): String
Helper method that builds the final URL.
Link copied to clipboard
open fun close()
Link copied to clipboard
open fun connectionInit()
Link copied to clipboard
open fun handleServerMessage(messageMap: Map<String, Any>)
Link copied to clipboard
open fun run()
Link copied to clipboard
open fun <D : Operation.Data?> startOperation(request: ApolloRequest<D>)
Link copied to clipboard
open fun <D : Operation.Data?> stopOperation(request: ApolloRequest<D>)