my_ip | R Documentation |
It can use a DNS query to opendns.com, if method == "dns"
, or
an HTTPS query to icanhazip.com, see https://github.com/major/icanhaz.
The DNS query is much faster, the HTTPS query is secure.
my_ip(method = c("dns", "https"))
method |
Whether to use a DNS or HTTPS query. |
Computer's public IP address as a string.
my_ip()
my_ip(method = "https")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.