Skip to main content

answer

Function answer 

Source
pub fn answer(
    method: &str,
    params: Value,
    dispatch: &mut dyn Dispatch,
    ui: &mut dyn UiHandler,
    app: &AppInfo,
) -> Reply
Expand description

Answer one request synchronously (headless serving, tests). A request the UI handler keeps for later is answered with an error.