1
This commit is contained in:
parent
887ad6b35e
commit
c10d482f9d
@ -21,18 +21,19 @@ impl f9::app::UserApp for UserApp {
|
||||
fn init(&mut self) {
|
||||
App::instance().borrow_mut().add_http_handler(
|
||||
"Ops$selfChecking".to_string(),
|
||||
Box::new(
|
||||
move |ctx: &mut HttpContext| {
|
||||
ctx.rsp = "Ops$selfChecking".to_string();
|
||||
}
|
||||
),
|
||||
);
|
||||
App::instance().borrow_mut().add_http_handler(
|
||||
"Ops$selfChecking1".to_string(),
|
||||
Box::new(
|
||||
move |ctx: &mut HttpContext| {
|
||||
ctx.rsp = "Ops$selfChecking1".to_string();
|
||||
}
|
||||
Rc::new(RefCell::new(
|
||||
move |ctx: &mut HttpContext| {
|
||||
ctx.rsp = "Ops$selfChecking".to_string();
|
||||
App::instance().borrow_mut().add_http_handler(
|
||||
"Ops$selfChecking3".to_string(),
|
||||
Rc::new(RefCell::new(
|
||||
move |ctx: &mut HttpContext| {
|
||||
ctx.rsp = "Ops$selfChecking3".to_string();
|
||||
}
|
||||
)),
|
||||
);
|
||||
}
|
||||
)
|
||||
),
|
||||
);
|
||||
}
|
||||
|
2
third_party/librust
vendored
2
third_party/librust
vendored
@ -1 +1 @@
|
||||
Subproject commit dea499028da4e75cb1ce47df4453cc7e9d3deabf
|
||||
Subproject commit af0cae3d246dc2ac6a4729c7fc6ce9ee7630d029
|
Loading…
x
Reference in New Issue
Block a user