tower-duplex

Crates.iotower-duplex
lib.rstower-duplex
version0.1.1
sourcesrc
created_at2022-04-25 18:55:38.27518
updated_at2022-05-10 14:38:56.546606
descriptionA tower service warpper built on top of tokio, that allows bi-directional RPC calls between two tower services
homepage
repositoryhttps://github.com/vkrasnov/tokio-duplex-tower
max_upload_size
id574048
size31,690
Vlad Krasnov (vkrasnov)

documentation

README

tower-duplex

A [tower::Service] that implements a server and a client simultaneously over a bi-directional channel. As a server it is able to process RPC calls from a remote client, and as a client it is capable of making RPC calls into a remote server. It is very convinient in a system that requires asynchronous communication in both directions.

License: MIT OR Apache-2.0

Commit count: 6

cargo fmt