API Reference
Namespaces
Classes
Events
Global
Externals

Namespace: RequestLimiter

CIQ. RequestLimiter

Rate limiter for outbound AJAX queries. Can limit the number of outbound requests per second per domain.

Since:
  • 3.0.0
  • 8.0.0 Removed the CIQ.Extras namespace.

Members


logToConsole :boolean

Logging switch

Type:
  • boolean
Since:
  • 3.0.0

Default Value:
  • true

logToServer :string

Remote Logging URL Set to complete URL of server to POST the exceeded limit requests to

Type:
  • string
Since:
  • 3.0.0

Example
CIQ.RequestLimiter.logToServer = "https://log.myserver.com/logging/limits/postHandler";

outboundAjaxLimit :number

Outbound Ajax rate limit Set to 0 or null to turn off limit

Type:
  • number
Since:
  • 3.0.0

Default Value:
  • 25