summaryrefslogtreecommitdiff
path: root/tor-proto/src/stream.rs
blob: f9586d17aada5014798c37b4fb93d02d323db69c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! Implements Tor's "stream"s from a client perspective
//!
//! A stream is an anonymized conversation; multiple streams can be
//! multiplexed over a single circuit.
//!
//! To create a stream, use [crate::circuit::ClientCirc::begin_stream].
//!
//! # Limitations
//!
//! TODO: This should eventually expose a bytes-oriented type rather than a
//! cell-oriented type.
//!
//! XXXX TODO: There is no fariness, rate-limiting, or flow control.

mod data;
mod raw;
mod resolve;

pub use data::DataStream;
pub use raw::RawCellStream;
pub use resolve::ResolveStream;