Skip to main content

substitute

Function substitute 

Source
pub fn substitute(lua: &Lua, policy: &Policy, value: Value) -> Result<Value>
Expand description

Replace placeholders with the real values a moment before the request leaves. Walks nested tables so a module that builds a JSON body out of its options table is covered without changing that module.