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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def convertHttpEndpointToF[F[_], R, E](endpoint: ServerEndpoint[Any, [β$23$]ZIO[R, Throwable, β$23$]])(implicit arg0: Async[F], runtime: Runtime[R]): ServerEndpoint[Any, F]

    If you wish to use Http4sServerInterpreter with cats-effect IO instead of ZHttp4sServerInterpreter, you can use this function to convert the tapir endpoints to their cats-effect counterpart.

  7. def convertWebSocketEndpointToF[F[_], R, E](endpoint: ServerEndpoint[ZioWebSockets, [β$24$]ZIO[R, Throwable, β$24$]])(implicit arg0: Async[F], arg1: Dispatcher[F], runtime: Runtime[R]): ServerEndpoint[Fs2Streams[F] with WebSockets, F]

    If you wish to use Http4sServerInterpreter with cats-effect IO instead of ZHttp4sServerInterpreter, you can use this function to convert the tapir endpoints to their cats-effect counterpart.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def makeHttpService[R, E](interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, queryExecution: QueryExecution = QueryExecution.Parallel, requestInterceptor: RequestInterceptor[R] = RequestInterceptor.empty): HttpRoutes[[β$0$]ZIO[R with Has[Service] with Has[Service], Throwable, β$0$]]
  14. def makeHttpServiceF[F[_], R, E](interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, queryExecution: QueryExecution = QueryExecution.Parallel, requestInterceptor: RequestInterceptor[R] = RequestInterceptor.empty)(implicit arg0: Async[F], runtime: Runtime[R]): HttpRoutes[F]
  15. def makeHttpUploadService[R <: Has[_] with Random, E](interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, queryExecution: QueryExecution = QueryExecution.Parallel, requestInterceptor: RequestInterceptor[R] = RequestInterceptor.empty): HttpRoutes[[β$1$]ZIO[R with Has[Service] with Has[Service], Throwable, β$1$]]
  16. def makeHttpUploadServiceF[F[_], R <: Has[_] with Random, E](interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, queryExecution: QueryExecution = QueryExecution.Parallel, requestInterceptor: RequestInterceptor[R] = RequestInterceptor.empty)(implicit arg0: Async[F], runtime: Runtime[R]): HttpRoutes[F]
  17. def makeWebSocketService[R, R1 <: R, E](builder: WebSocketBuilder2[[β$2$]ZIO[R with Has[Service] with Has[Service], Throwable, β$2$]], interpreter: GraphQLInterpreter[R1, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, keepAliveTime: Option[Duration] = None, queryExecution: QueryExecution = QueryExecution.Parallel, requestInterceptor: RequestInterceptor[R] = RequestInterceptor.empty, webSocketHooks: WebSocketHooks[R1, E] = WebSocketHooks.empty): HttpRoutes[[β$3$]ZIO[R1 with Has[Service] with Has[Service], Throwable, β$3$]]
  18. def makeWebSocketServiceF[F[_], R, E](builder: WebSocketBuilder2[F], interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, keepAliveTime: Option[Duration] = None, queryExecution: QueryExecution = QueryExecution.Parallel, requestInterceptor: RequestInterceptor[R] = RequestInterceptor.empty, webSocketHooks: WebSocketHooks[R, E] = WebSocketHooks.empty)(implicit arg0: Async[F], arg1: Dispatcher[F], runtime: Runtime[R]): HttpRoutes[F]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. def provideLayerFromRequest[R <: Has[_]](route: HttpRoutes[[β$5$]ZIO[R, Throwable, β$5$]], 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[[β$11$]ZIO[R with R1, Throwable, β$11$]], f: (Request[[β$12$]ZIO[R, Throwable, β$12$]]) => RLayer[R, R1])(implicit tagged: zio.Tag[R1]): HttpRoutes[[β$13$]ZIO[R, Throwable, β$13$]]

    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(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped