pub async fn proxy_stream<S, T>(
s1: S,
s2: T,
token: CancellationToken,
) -> Result<(), Error>Expand description
Proxies two streams.
s1- The first stream.s2- The second stream.token- The cancellation token to cancel the proxying.
pub async fn proxy_stream<S, T>(
s1: S,
s2: T,
token: CancellationToken,
) -> Result<(), Error>Proxies two streams.
s1 - The first stream.s2 - The second stream.token - The cancellation token to cancel the proxying.