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
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
- Graph
-
- Supertypes
-
trait I => F[I]class Objecttrait Matchableclass Any
Members list
In this article