ip property

String? get ip

The IP address of the client that sent the request.

Derived from the connection's remote address. This value is not read from client-supplied headers like X-Forwarded-For.

Example:

request.ip // 192.168.1.1

Implementation

String? get ip;