FromServer

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

Type members

Classlikes

final case class Complete(id: String) extends FromServer with Identifier

Message sent to the client indicating that no more data will be forthcoming for the associated GraphQL operation.

Message sent to the client indicating that no more data will be forthcoming for the associated GraphQL operation.

Value parameters:
id

operation id

Companion:
object
object Complete
Companion:
class
case object ConnectionAck extends FromServer

A server acknowledgement and acceptance of a ConnectionInit request.

A server acknowledgement and acceptance of a ConnectionInit request.

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

A server rejection of a ConnectionInit request.

A server rejection of a ConnectionInit request.

Value parameters:
payload

error information

Companion:
object
Companion:
class
case object ConnectionKeepAlive extends FromServer

Server initiated message that keeps the client connection alive.

Server initiated message that keeps the client connection alive.

final case class Data(id: String, payload: DataWrapper) extends FromServer with Identifier with Payload[DataWrapper]

GraphQL execution result from the server. The result is associated with an operation that was previously started by a Start message with the associated id.

GraphQL execution result from the server. The result is associated with an operation that was previously started by a Start message with the associated id.

Value parameters:
id

operation id

payload

GraphQL result

Companion:
object
object Data
Companion:
class
object DataJson
final case class DataWrapper(data: Json, errors: Option[Json])
Companion:
object
Companion:
class
final case class Error(id: String, payload: Json) extends FromServer with Identifier with Payload[Json]

Server-provided error information for a failed GraphQL operation, previously started with a Start message with the associated id.

Server-provided error information for a failed GraphQL operation, previously started with a Start message with the associated id.

Value parameters:
id

operation id

payload

error information

Companion:
object
object Error
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 EqFromServer: Eq[FromServer]