Skip to main content

http__request__header__key

Function http__request__header__key 

Source
pub fn http__request__header__key(value: &str) -> String
Expand description

Instantiates the <key> placeholder in the attribute HTTP__REQUEST__HEADER__KEY (http.request.header.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::http__request__header__key;
assert_eq!(http__request__header__key("foobar"), "http.request.header.foobar");