Skip to main content

http_type/stream/
struct.rs

1use crate::*;
2
3#[derive(CustomDebug, Data, DisplayDebug, New)]
4pub struct Stream {
5    #[get_mut(pub(super))]
6    #[set(pub(super))]
7    pub(super) stream: TcpStream,
8    #[get_mut(pub(super))]
9    #[set(pub(super))]
10    pub(super) request_config: RequestConfig,
11    #[get(type(copy))]
12    #[get_mut(pub(super))]
13    pub(super) closed: bool,
14}