Crates.io | tower-duplex |
lib.rs | tower-duplex |
version | 0.1.1 |
source | src |
created_at | 2022-04-25 18:55:38.27518 |
updated_at | 2022-05-10 14:38:56.546606 |
description | A tower service warpper built on top of tokio, that allows bi-directional RPC calls between two tower services |
homepage | |
repository | https://github.com/vkrasnov/tokio-duplex-tower |
max_upload_size | |
id | 574048 |
size | 31,690 |
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