SimpleProtocolBuilder

smithy4s.http4s.SimpleProtocolBuilder
abstract class SimpleProtocolBuilder[P](simpleProtocolCodecs: SimpleProtocolCodecs)(implicit protocolTag: ShapeTag[P])

Abstract construct helping the construction of routers and clients for a given protocol. Upon constructing the routers/clients, it will first check that they are indeed annotated with the protocol in question.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

class ClientBuilder[Alg[_[_, _, _, _, _]], F[_]]

Attributes

Supertypes
class Object
trait Matchable
class Any
class RouterBuilder[Alg[_[_, _, _, _, _]], F[_]]

Attributes

Supertypes
class Object
trait Matchable
class Any
class ServiceBuilder[Alg[_[_, _, _, _, _]]]

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply[Alg[_[_, _, _, _, _]]](service: Service[Alg]): ServiceBuilder[Alg]
def routes[Alg[_[_, _, _, _, _]], F[_]](impl: FunctorAlgebra[Alg, F])(implicit service: Service[Alg], F: Concurrent[F]): RouterBuilder[Alg, F]