poppet.consumer.core

Members list

Concise view

Type members

Classlikes

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]])

Attributes

F

consumer data kind, for example Future[_]

I

intermediate data type, for example Json

S

service type, for example HelloService

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 transferring data to the provider

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Consumer

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait ConsumerProcessor[F[_], I, S]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ConsumerProcessor.type

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type