AppSyncWsProtocol

class AppSyncWsProtocol(val authorization: suspend () -> Any? = { null }) : WsProtocol

A WsProtocol for https://docs.aws.amazon.com/appsync/latest/devguide/real-time-websocket-client.html

Constructors

Link copied to clipboard
constructor(authorization: suspend () -> Any? = { null })

Types

Link copied to clipboard

Properties

Link copied to clipboard
val authorization: suspend () -> Any?
Link copied to clipboard
open override val name: String

Functions

Link copied to clipboard
open suspend override fun connectionInit(): ClientMessage
Link copied to clipboard
open suspend override fun <D : Operation.Data> operationStart(request: ApolloRequest<D>): ClientMessage
Link copied to clipboard
open override fun <D : Operation.Data> operationStop(request: ApolloRequest<D>): ClientMessage
Link copied to clipboard
open override fun parseServerMessage(text: String): ServerMessage
Link copied to clipboard
open override fun ping(): ClientMessage?
Link copied to clipboard
open override fun pong(): ClientMessage?