http_ping: Ping a web site

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

Ping a web site

Usage

1
http_ping(url = "http://aquamaps.org", timeout = 10)

Arguments

url

a web site to "web ping" to see that it is available

timeout

default time to wait in seconds before returning FALSE

Value

TRUE if web site is up, FALSE otherwise

See Also

Other admin: am_custom_query(), am_db_duckdb(), am_db_sqlite(), am_use_offline_db(), con_am(), db_disco(), db_minify_path(), db_minify(), db_sync(), default_db()

Examples

1
2
3
4
## Not run: 
 http_ping("http://aquamaps.org")

## End(Not run)

raquamaps/aquamapsdata documentation built on Feb. 25, 2021, 10:28 p.m.