Documentation
1
2
3
4
5
6
7
8
9
10
11
pub struct Config {
    pub keep_alive_timeout: u64,
}

impl Config {
    pub fn new() -> Self {
        Config {
            keep_alive_timeout: 20,
        }
    }
}