poppet.provider.core.Provider
See theProvider companion object
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
Attributes
- F
service data kind, for example Future
- I
intermediate data type, for example Json
- 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.
- Companion:
- object
- Graph
- Supertypes
- trait I => F[I]class Objecttrait Matchableclass Any