StreamingMessage

GraphQL web socket protocol streaming messages. Messages are cleanly divided in those coming FromClient and those coming FromServer. See also https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md. Also see: https://medium.com/@rob.blackbourn/writing-a-graphql-websocket-subscriber-in-javascript-4451abb9cd60

class Object
trait Matchable
class Any

Type members

Classlikes

object FromClient
Companion:
class
sealed trait FromClient extends Product with Serializable

Client-produced streaming messages.

Client-produced streaming messages.

Companion:
object
object FromServer
Companion:
class
sealed trait FromServer extends Product with Serializable

Server-produced streaming messages.

Server-produced streaming messages.

Companion:
object
sealed trait Identifier

Messages implement Identifier to distinguish (potentially) long-running operations like subscriptions where results come in over time.

Messages implement Identifier to distinguish (potentially) long-running operations like subscriptions where results come in over time.

sealed trait Payload[P]

Messages that include a payload implement Payload.

Messages that include a payload implement Payload.