Function set_config

Source
pub fn set_config<C: ConfigTrait>(cfg: &C)
Expand description

set the RespResult config, will change the action on generate response body

ยงPanic

the config can only been set once, multiple times set will cause panic