Macro custom_headers

Source
macro_rules! custom_headers {
    ($(($struct_name:ident, $header_name:expr)),* $(,)?) => { ... };
}
Expand description

Declares a custom HTTP headers structure

ยงExample

use volga::headers::custom_headers;

// The `x-api-key` header
custom_headers! {
    (ApiKey, "x-api-key")
}