GraphqlWSServer

gql.graphqlws.GraphqlWSServer$

Attributes

Source
GraphqlWSServer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object State

Attributes

Companion
trait
Source
GraphqlWSServer.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
State.type
sealed trait State[F[_]]

Attributes

Companion
object
Source
GraphqlWSServer.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Connected[F]
class Connecting[F]
class Terminating[F]
final case class SubscriptionState[F[_]](close: F[Unit])

Attributes

Source
GraphqlWSServer.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class TechnicalError(code: Code, message: String)

Attributes

Source
GraphqlWSServer.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

type Compiler[F[_]] = QueryParameters => Resource[F, Outcome[F]]

Attributes

Source
GraphqlWSServer.scala
type GetCompiler[F[_]] = Map[String, Json] => F[Either[String, () => F]]

Attributes

Source
GraphqlWSServer.scala

Value members

Concrete methods

def apply[F[_]](getCompiler: () => F)(implicit F: Async[F]): Resource[F, (Stream[F, Either[TechnicalError, FromServer]], Stream[F, FromClient] => Stream[F, Unit])]

Attributes

Source
GraphqlWSServer.scala