TapirAdapter
caliban.interop.tapir.TapirAdapter
object TapirAdapter
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TapirAdapter.type
Members list
Type members
Classlikes
object CalibanBody
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CalibanBody.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object TapirResponse
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TapirResponse.type
Types
type CalibanEndpoint[R, BS, S] = Full[Unit, Unit, (GraphQLRequest, ServerRequest), TapirResponse, (BS), S, [_] =>> RIO[R, _$1]]
type CalibanUploadsEndpoint[R, BS, S] = Full[Unit, Unit, UploadRequest, TapirResponse, (BS), S, [_] =>> RIO[R, _$2]]
A configurator is an effect that can be run in the scope of a request and returns Unit. It is usually used to change the value of a configuration fiber ref (see the Configurator object).
A configurator is an effect that can be run in the scope of a request and returns Unit. It is usually used to change the value of a configuration fiber ref (see the Configurator object).
Attributes
An interceptor is a layer that takes an environment R1 and a server request, and that either fails with a TapirResponse or returns a new environment R
An interceptor is a layer that takes an environment R1 and a server request, and that either fails with a TapirResponse or returns a new environment R
Attributes
Value members
Concrete methods
def buildHttpResponse[E, BS](request: ServerRequest)(response: GraphQLResponse[E])(implicit streamConstructor: StreamConstructor[BS], responseCodec: JsonCodec[ResponseValue]): (MediaType, StatusCode, Option[String], CalibanBody[BS])
def convertHttpEndpointToFuture[R](endpoint: ServerEndpoint[ZioStreams, [_] =>> RIO[R, _$12]])(implicit runtime: Runtime[R]): ServerEndpoint[ZioStreams, Future]
def outputBody[S](stream: Streams[S])(implicit codec: JsonCodec[ResponseValue]): EndpointOutput[CalibanBody[BinaryStream]]
Concrete fields
In this article