◆ constructor()
DeviceDetectionCloudPipelineBuilder::constructor | ( | { licenceKeys=null, resourceKey=null, cacheSize=null, cloudEndPoint=null, cloudRequestOrigin=null } | ) |
inline
Constructor for DeviceDetectionCloudPipelineBuilder.
- Parameters
-
- {object} - options the options for the pipeline builder
- {string} - options.licenceKeys license key(s) used by the data file update service. A key can be obtained from the 51Degrees website: https://51degrees.com/pricing. This parameter MUST be set when using a data file. If you do not wish to use a key then you can specify an empty string, but this will cause automatic updates to be disabled.
- {string} - options.resourceKey resourceKey
- {number} - options.cacheSize size of the default cache (includes cache if set).
- {string} - options.cloudEndPoint Choose a non default endpoint for the cloud request engine
- {string} - options.cloudRequestOrigin The value to set the Origin header to when making requests to the cloud service