Function example_webserver_rs::handlers::get_json_counter
source ยท pub async fn get_json_counter<'a>(__arg0: State<Arc<Mutex<AppState>>>) -> StringExpand description
Return how many times get_json has been called. This introduces shared state implemented with
Arc and Mutex.