public void enableRateLimitForward ( String adminAPIKey , String endUserIP , String rateLimitAPIKey ) { this . forwardAdminAPIKey = adminAPIKey ; this . forwardEndUserIP = endUserIP ; this . forwardRateLimitAPIKey = rateLimitAPIKey ; }
Allow to use IP rate limit when you have a proxy between end - user and Algolia . This option will set the X - Forwarded - For HTTP header with the client IP and the X - Forwarded - API - Key with the API Key having rate limits .