Struct AFDClientConfiguration

Struct Documentation

struct Microsoft::Applications::Experimentation::AFD::AFDClientConfiguration

The AFDClientConfiguration structure configures the AFD client.

Public Members

std::string clientId

A string that contains the name of the client whose the AFD configurations are to be retrieved.

[required] Header X-MSEDGE-CLIENTID or parameter &clientid.

std::string impressionGuid

A string that contains the impression GUID.

[optional] Header X-MSEDGE-IG or parameter &ig=.

std::string market

A string that contains the name of the market.

[optional] Header X-MSEDGE-MARKET or parameter &mkt

int existingUser

An integer that specifies whether the user is an existing user.

1 for yes, 0 for no. [optional] Header X-MSEDGE-EXISTINGUSER

int corpnet = 1

An integer that specifies whether the session takes place over the corpnet.

1 for yes, 0 for no. [optional] parameter &corpnet=0

std::string setflight

A string that contains the name of the flight.

[optional] parameter &setflight =

std::string clientVersion

[required] A string that contains the version of the client.

std::string cacheFilePathName

[required] A string that contains the fully-qualified path name of the file used by the AFD client to cache the configuration details locally.

unsigned int defaultExpiryTimeInMin = 0

[optional] An unsigned integer that contains the expiration time (in minutes) for the locally cached client configuration.

std::vector<std::string> serverUrls

[Required] A standard vector of strings that contains the AFD server URLs.

If you don’t specify any, then the default is used.

bool verbose = false

[optional] A boolean value that specifies whether verbose logging is used for debugging flights.

If you don’t specify this value, then the default value (false) is used.

bool enableAFDClientTelemetry = false