How to get the remote client IP address?

How to get the remote client IP address?

func (c echo.Context) error {
	ip := c.RealIP()
}

Sorry for resurrecting an old thread, but is c.RealIP() secure, aka. can’t be forged by the client? Or c.request.RemoteAddr should be used in this case?