poppet.consumer.core.Consumer
See theConsumer companion object
class Consumer[F[_], I, S](transport: F => I, peek: F => I, fh: FailureHandler[F], processor: ConsumerProcessor[F, I, S])(implicit evidence$1: Monad[F], qcodec: Codec[Request[I], I], scodec: Codec[I, Response[I]])
Type parameters
- F
-
consumer data kind, for example Future[_]
- I
-
intermediate data type, for example Json
- S
-
service type, for example HelloService
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.
- transport
-
function that transfers data to the provider
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article