R/keepalive.R

Defines functions keepalive

Documented in keepalive

#' Simple call to test / revalidate token
#' @return list with result == "success"
#' @export
keepalive <- function(){
	
	#test if we can do a read
	oh.user.read("");
	
	#if no error: return success
	return(list(result="success"));	
}

Try the Mobilize package in your browser

Any scripts or data that you put into this service are public.

Mobilize documentation built on May 30, 2017, 2:48 a.m.