Skip to main content

http__response__header__key

Function http__response__header__key 

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

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

ยงExample

use relay_conventions::interpolate::http__response__header__key;
assert_eq!(http__response__header__key("foobar"), "http.response.header.foobar");