(connection: Connection)
| 90 | |
| 91 | impl ClientHandler { |
| 92 | pub fn new(connection: Connection) -> Self { |
| 93 | Self { |
| 94 | connection, |
| 95 | state: ClientHandlerState::Handshake, |
| 96 | brand: None, |
| 97 | online: false, |
| 98 | compression: None, |
| 99 | status_description: None, |
| 100 | status_favicon: None, |
| 101 | registries: None, |
| 102 | tags: None, |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | pub fn with_brand(mut self, brand: impl Into<String>) -> Self { |
| 107 | self.brand = Some(brand.into()); |
nothing calls this directly
no outgoing calls
no test coverage detected