Skip to main content

transfer

Function transfer 

Source
async fn transfer<S>(
    request: Request<Incoming>,
    tor_stream: DataStream,
) -> Result<()>
where S: AsyncRead + AsyncWrite + Send + Sync + Unpin + 'static,
Expand description

Recover the application stream from request, and launch tasks to transfer data between the application and the tor_stream.