#tower-service #calls #rpc #bidirectional #client #server-client #remote

tower-duplex

A tower service warpper built on top of tokio, that allows bi-directional RPC calls between two tower services

2 releases

0.1.1 May 10, 2022
0.1.0 Apr 25, 2022

#30 in #tower-service

33 downloads per month

MIT/Apache

32KB
531 lines

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


lib.rs:

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.

Dependencies

~4.5–6.5MB
~112K SLoC