Sets custom header values. # Argument `values` - A vector of string slices representing custom header names.
(mut self, values: Vec<&str>)
| 56 | /// |
| 57 | /// * `values` - A vector of string slices representing custom header names. |
| 58 | pub fn values(mut self, values: Vec<&str>) -> Self { |
| 59 | self.values = Some(values.into_iter().map(|s| s.to_string()).collect()); |
| 60 | self |
| 61 | } |
| 62 | |
| 63 | /// Sets the height of the header. |
| 64 | /// |
no outgoing calls