client.ip {AnalysisPageServer} | R Documentation

## client.ip

### Description

Return client IP address

### Usage

    client.ip()

### Details

This is the "X-Forwarded-For" header, if available, and otherwise the "remote_ip" component of the global SERVER variable

### Value

`SERVER$remote_ip`

### Author(s)

Brad Friedman

### Examples

    SERVER <<- list(remote_ip = "127.0.0.1")
    client.ip()

[Package AnalysisPageServer version 1.20.0 Index]