PersistentStreamingClient

trait PersistentStreamingClient[F[_], S, CP, CE] extends StreamingClient[F, S] with PersistentClient[F, CP, CE]

A client that keeps a connection open and initializable protocol with the server, and allows GraphQL queries, mutations and subscriptions.

trait PersistentClient[F, CP, CE]
trait StreamingClient[F, S]
class Object
trait Matchable
class Any
class ApolloClient[F, S, CP, CE]

Type members

Inherited classlikes

case
class RequestApplied[V, D]
Inherited from
TransactionalClient
Inherited from
TransactionalClient
case
class SubscriptionApplied[V, D](subscription: GraphQLOperation[S], operationName: Option[String])(implicit varEncoder: Encoder[V], dataDecoder: Decoder[D])
Inherited from
StreamingClient

Value members

Inherited methods

def connect(): F[Unit]
Inherited from
PersistentClient
def disconnect(): F[Unit]
Inherited from
PersistentClient
def disconnect(closeParameters: CP): F[Unit]
Inherited from
PersistentClient
def initialize(payload: Map[String, Json]): F[Unit]
Inherited from
PersistentClient
def reestablish(): F[Unit]
Inherited from
PersistentClient
def request(operation: GraphQLOperation[S], operationName: Option[String]): RequestApplied[Variables, Data]
Inherited from
TransactionalClient
def subscribe(subscription: GraphQLOperation[S], operationName: Option[String]): SubscriptionApplied[Variables, Data]
Inherited from
StreamingClient
protected
def subscribeInternal[D : Decoder](document: String, operationName: Option[String], variables: Option[Json]): F[GraphQLSubscription[F, D]]
Inherited from
StreamingClient
def terminate(): F[Unit]
Inherited from
PersistentClient