trojan-core 0.10.1

Core types and constants for trojan-rs
Documentation
1
2
3
4
5
6
7
8
9
10
//! I/O utilities for bidirectional relay and stream adapters.
//!
//! This module provides shared I/O primitives that can be used by both
//! trojan-server and trojan-client.

mod prefixed;
mod relay;

pub use prefixed::PrefixedStream;
pub use relay::{NoOpMetrics, RelayMetrics, RelayStats, relay_bidirectional};