◆ ShareUsageBase() [1/3]
FiftyOne.Pipeline.Engines.FiftyOne.FlowElements.ShareUsageBase.ShareUsageBase | ( | ILogger< ShareUsageBase > | logger, |
HttpClient | httpClient, | ||
double | sharePercentage, | ||
int | minimumEntriesPerMessage, | ||
int | maximumQueueSize, | ||
int | addTimeout, | ||
int | takeTimeout, | ||
int | repeatEvidenceIntervalMinutes, | ||
bool | trackSession, | ||
string | shareUsageUrl, | ||
List< string > | blockedHttpHeaders, | ||
List< string > | includedQueryStringParameters, | ||
List< KeyValuePair< string, string >> | ignoreDataEvidenceFilter, | ||
string | aspSessionCookieName = Engines.Constants.DEFAULT_ASP_COOKIE_NAME
|
||
) |
Constructor
- Parameters
-
- logger - The logger to use.
- httpClient - The HttpClient to use when sending request data.
- sharePercentage - The approximate proportion of requests to share. 1 = 100%, 0.5 = 50%, etc.
- minimumEntriesPerMessage - The minimum number of request entries per message sent to 51Degrees.
- maximumQueueSize - The maximum number of items to hold in the queue at one time. This must be larger than minimum entries.
- addTimeout - The timeout in milliseconds to allow when attempting to add an item to the queue. If this timeout is exceeded then usage sharing will be disabled.
- takeTimeout - The timeout in milliseconds to allow when attempting to take an item to the queue.
- repeatEvidenceIntervalMinutes - The interval (in minutes) which is used to decide if repeat evidence is old enough to consider a new session.
- trackSession - Set if the tracker should consider sessions in share usage.
- shareUsageUrl - The URL to send data to
- blockedHttpHeaders - A list of the names of the HTTP headers that share usage should not send to 51Degrees.
- includedQueryStringParameters - A list of the names of query string parameters that share usage should send to 51Degrees. If this value is null, all query string parameters are shared.
- ignoreDataEvidenceFilter -
- aspSessionCookieName - The name of the cookie that contains the asp.net session id.