Dispatchers

kreuzberg.rpc.Dispatchers
case class Dispatchers[F[_]](dispatchers: Seq[Dispatcher[F]])(using effect: EffectSupport[F]) extends Dispatcher[F]

Combines multiple dispatchers into one.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Dispatcher[F]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def call(serviceName: String, name: String, input: Request): F[Response]

Issue a call.

Issue a call.

Attributes

def handles(serviceName: String): Boolean

Returns true if a given service is handled.

Returns true if a given service is handled.

Attributes

Inherited methods

def preRequestFlatMap(f: Request => F[Request])(using effect: EffectSupport[F]): Dispatcher[F]

Intercept into the request. This way it's possible to e.g. delegate generic security handling.

Intercept into the request. This way it's possible to e.g. delegate generic security handling.

Attributes

Inherited from:
Dispatcher
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product