redditwarp.http.misc.demultiplexer_SYNC#

exception redditwarp.http.misc.demultiplexer_SYNC.DestinationUndeterminedException[source]#

Bases: Exception

exception redditwarp.http.misc.demultiplexer_SYNC.DestinationCollisionException[source]#

Bases: Exception

class redditwarp.http.misc.demultiplexer_SYNC.Dispatcher[source]#

Bases: Handler

destinations: MutableMapping[Requisition, Handler]#
class redditwarp.http.misc.demultiplexer_SYNC.Demultiplexer(handler: Handler, dispatcher: Dispatcher, destination: Handler)[source]#

Bases: DelegatingHandler

The demultiplexer informs the dispatcher of the destination.

Handler chain: demultiplexer -> handler -> dispatcher -> destination.

dispatcher: Dispatcher#
destination: Handler#