#tari #comms

nightly tari_comms_middleware

Tari comms middleware modules used to add functionality to the base tari_comms library

1 unstable release

0.0.7 Jan 15, 2020

#17 in #comms


33K SLoC

Tari Comms Middleware


Comms Middleware

Comms Middleware contains the middleware layers that can be composed when processing inbound and outbound comms messages.

For example, should you want your messages to be encrypted, you'll add the EncryptionLayer to the outbound middleware stack and the DecryptionLayer to the inbound stack.

Middlewares use tower_layer and tower_service. A Middleware is simply any service which is Service<InboundMessage, Response = (), Error = MiddlewareError>. This service will usually be composed of other services by using the tower_util::ServiceBuilder.


~386K SLoC