Packages

o

caliban

Http4sAdapter

object Http4sAdapter

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http4sAdapter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val application/graphql: MediaType
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def executeRequest[R0, R, E](interpreter: GraphQLInterpreter[R, E], provideEnv: (R0) => R, skipValidation: Boolean = false, enableIntrospection: Boolean = true, queryExecution: QueryExecution = QueryExecution.Parallel): HttpApp[[β$4$]ZIO[R0, Throwable, β$4$]]
  10. def executeRequestF[F[_], E](interpreter: GraphQLInterpreter[Any, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, queryExecution: QueryExecution = QueryExecution.Parallel)(implicit F: Effect[F], runtime: Runtime[Any]): HttpApp[F]
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def makeHttpService[R, E](interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, queryExecution: QueryExecution = QueryExecution.Parallel): HttpRoutes[[β$1$]ZIO[R, Throwable, β$1$]]
  16. def makeHttpServiceF[F[_], E](interpreter: GraphQLInterpreter[Any, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, queryExecution: QueryExecution = QueryExecution.Parallel)(implicit F: Effect[F], runtime: Runtime[Any]): HttpRoutes[F]
  17. def makeWebSocketService[R, E](interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, keepAliveTime: Option[Duration] = None, queryExecution: QueryExecution = QueryExecution.Parallel): HttpRoutes[[β$6$]ZIO[R, Throwable, β$6$]]
  18. def makeWebSocketServiceF[F[_], E](interpreter: GraphQLInterpreter[Any, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, keepAliveTime: Option[Duration] = None, queryExecution: QueryExecution = QueryExecution.Parallel)(implicit F: Effect[F], runtime: Runtime[Any]): HttpRoutes[F]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def provideLayerFromRequest[R <: Has[_]](route: HttpRoutes[[β$11$]ZIO[R, Throwable, β$11$]], f: (Request[Task]) => TaskLayer[R])(implicit tagged: zio.Tag[R]): HttpRoutes[Task]

    Utility function to create an http4s middleware that can extracts something from each request and provide a layer to eliminate the ZIO environment

    Utility function to create an http4s middleware that can extracts something from each request and provide a layer to eliminate the ZIO environment

    R

    the environment type to eliminate

    route

    an http4s route

    f

    a function from a request to a ZLayer

    returns

    a new route without the R requirement

  23. def provideSomeLayerFromRequest[R <: Has[_], R1 <: Has[_]](route: HttpRoutes[[β$18$]ZIO[R with R1, Throwable, β$18$]], f: (Request[[β$19$]ZIO[R, Throwable, β$19$]]) => RLayer[R, R1])(implicit tagged: zio.Tag[R1]): HttpRoutes[[β$20$]ZIO[R, Throwable, β$20$]]

    Utility function to create an http4s middleware that can extracts something from each request and provide a layer to eliminate some part of the ZIO environment

    Utility function to create an http4s middleware that can extracts something from each request and provide a layer to eliminate some part of the ZIO environment

    R

    the remaining environment

    R1

    the environment to eliminate

    route

    an http4s route

    f

    a function from a request to a ZLayer

    returns

    a new route that requires only R

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def makeRestService[R, E](interpreter: GraphQLInterpreter[R, E]): HttpRoutes[[β$0$]ZIO[R, Throwable, β$0$]]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) Use makeHttpService instead

  2. def makeRestServiceF[F[_], E](interpreter: GraphQLInterpreter[Any, E])(implicit F: Effect[F], runtime: Runtime[Any]): HttpRoutes[F]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) Use makeHttpServiceF instead

Inherited from AnyRef

Inherited from Any

Ungrouped