ClientEndpointFactory

works.iterative.tapir.ClientEndpointFactory

Create effectful methods to perform the endpoint operation

Just a useful way to have something that will derive the client from the endpoint using other layers, like BaseUri and provided STTP Backend.

The resulting type is either

  • S => I => IO[E, O] if the endpoint is secure and error prone
  • S => I => UIO[O] if the endpoint is secure and infallible
  • I => IO[E, O] if the endpoint is public and error prone
  • I => UIO[O] if the endpoint is public and infallible

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def make[S, I, E, O](endpoint: Endpoint[S, I, E, O, ZioStreams & WebSockets])(using b: BaseUriExtractor[O], e: ClientErrorConstructor[E], m: ClientResultConstructor[S, I, e.Error, O]): m.Result