poppet.provider.core

Members list

Type members

Classlikes

class MethodProcessor[F[_], I](val service: String, val name: String, val arguments: List[String], val f: Map[String, I] => F[I])

Attributes

Supertypes
class Object
trait Matchable
class Any
class Provider[F[_], I](peek: F => I, fh: FailureHandler[F], processors: List[MethodProcessor[F, I]])(implicit evidence$1: Monad[F], qcodec: Codec[I, Request[I]], scodec: Codec[Response[I], I]) extends F => I

Type parameters

F

service data kind, for example Future

I

intermediate data type, for example Json

Value parameters

peek

function that can decorate given request -> response function without changing the types. It is mostly used to peek on parsed dtos, for example for logging.

Attributes

Companion
object
Supertypes
trait I => F[I]
class Object
trait Matchable
class Any
object Provider

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Provider.type
trait ProviderProcessor[F[_], I, S]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ProviderProcessor.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type