diff --git a/libpaket/src/utils.rs b/libpaket/src/utils.rs index 632a23b..7f0d9b8 100644 --- a/libpaket/src/utils.rs +++ b/libpaket/src/utils.rs @@ -26,6 +26,13 @@ impl CookieHeaderValueBuilder { self } + pub fn add_key_value(mut self, key: String, value: String) -> Self { + self.list + .push((key, value)); + + self + } + pub fn build_string(self) -> String { let name_value = self .list