SimpleProtocolBuilder

smithy4s.http4s.SimpleProtocolBuilder
abstract class SimpleProtocolBuilder[P](val codecs: CodecAPI)(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

Concise view

Type members

Classlikes

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

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply[Alg[_[_, _, _, _, _]], Op[_, _, _, _, _]](serviceProvider: Provider[Alg, Op]): ServiceBuilder[Alg, Op]
def routes[Alg[_[_, _, _, _, _]], Op[_, _, _, _, _], F[_]](impl: Monadic[Alg, F])(implicit serviceProvider: Provider[Alg, Op], F: Concurrent[F]): RouterBuilder[Alg, Op, F]

Concrete fields

val codecs: CodecAPI