object Http4sAdapter
- Alphabetic
- By Inheritance
- Http4sAdapter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val application/graphql: MediaType
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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$]]
- 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]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeHttpService[R, E](interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, queryExecution: QueryExecution = QueryExecution.Parallel): HttpRoutes[[β$1$]ZIO[R, Throwable, β$1$]]
- 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]
- 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$]]
- 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]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- 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
- 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