(&mut self)
| 19 | } |
| 20 | |
| 21 | pub fn register_extra_native_functions(&mut self) { |
| 22 | self.arena.mutate_root(|_mc, state| { |
| 23 | state.define_native_function("response", NativeFn(response::response)); |
| 24 | state.define_native_function( |
| 25 | "temporary_redirect", |
| 26 | NativeFn(response::temporary_redirect), |
| 27 | ); |
| 28 | state.define_native_function( |
| 29 | "permanent_redirect", |
| 30 | NativeFn(response::permanent_redirect), |
| 31 | ); |
| 32 | }); |
| 33 | } |
| 34 | |
| 35 | pub fn inject_sso_instance<K>(&mut self, fields: HashMap<K, serde_json::Value>) |
| 36 | where |
no test coverage detected