FromClient

object FromClient
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class ConnectionInit(payload: Map[String, Json]) extends FromClient with Payload[Map[String, Json]]

Starts communication with the server. The client may expect a ConnectionAck or ConnectionError in response.

Starts communication with the server. The client may expect a ConnectionAck or ConnectionError in response.

Value parameters:
payload

any connection parameters that the client wishes to send

Companion:
object
Companion:
class
case object ConnectionTerminate extends FromClient

Informs the server that the client wishes to terminate the connection.

Informs the server that the client wishes to terminate the connection.

final case class Start(id: String, payload: GraphQLRequest) extends FromClient with Identifier with Payload[GraphQLRequest]

Starts a GraphQL operation. The operation contains an id so that it can be explicitly stopped by the client and so that data associated with the operation coming from the server may identified.

Starts a GraphQL operation. The operation contains an id so that it can be explicitly stopped by the client and so that data associated with the operation coming from the server may identified.

Value parameters:
id

identifier of the operation to start

payload

the GraphQL request itself

Companion:
object
object Start
Companion:
class
final case class Stop(id: String) extends FromClient with Identifier

Stops a running GraphQL operation (for example, a subscription).

Stops a running GraphQL operation (for example, a subscription).

Value parameters:
id

identifier of the operation that was previously started

Companion:
object
object Stop
Companion:
class

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Implicits

Implicits

implicit val EqFromClient: Eq[FromClient]