diff options
| author | Fuwn <[email protected]> | 2022-03-26 10:13:42 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-26 10:13:42 +0000 |
| commit | 0200adf6927ca02c95e6c4114bd5852e142f4384 (patch) | |
| tree | 282da787da8570adf0c3096c0f424bf1a710352a /src/response.rs | |
| parent | docs(readme): add implementation instructions (diff) | |
| download | windmark-0200adf6927ca02c95e6c4114bd5852e142f4384.tar.xz windmark-0200adf6927ca02c95e6c4114bd5852e142f4384.zip | |
refactor(response): remove unused header struct
Diffstat (limited to 'src/response.rs')
| -rw-r--r-- | src/response.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/response.rs b/src/response.rs index cad2f1a..8720eb6 100644 --- a/src/response.rs +++ b/src/response.rs @@ -16,16 +16,6 @@ // Copyright (C) 2022-2022 Fuwn <[email protected]> // SPDX-License-Identifier: GPL-3.0-only -pub struct Header { - status: crate::status::Code, - meta: String, -} -impl ToString for Header { - fn to_string(&self) -> String { - format!("{} {}\r\n", self.status as u8, self.meta) - } -} - pub enum Response { Input(String), SensitiveInput(String), |