Skip to main content

ConfigurationAPI Methods

An object defining methods for the ConfigurationAPI class.

GetConfiguration(data, telemetryCollectorHolder)

Retrieves configuration data based on the specified request parameters, returning the configuration details in the response.

Parameters:

data (required): GetConfigurationRequest
The request data containing the configuration key to specify which configuration to retrieve.

telemetryCollectorHolder (optional): ITelemetryCollectorHolder
Holds telemetry collection data for tracking and diagnostics during the configuration retrieval process. Defaults to null if not provided, used for advanced telemetry purposes.

Returns:

Type: Task<WrapResponse<GetConfigurationResponse>>
Returns configuration data

This is a async method. Method should be waited. Be careful if call this method without waiting.

See Also


SetUrl(url)

Sets the API URL for requests.

Parameters:

url (required): string
The new API URL.

Returns:

Type: void
Method does not return anything

Exceptions:

Type: ArgumentNullException
Throws ArgumentNullException if URL is null or empty.

Type: Exception
Throws Exception if the URL is invalid.

This is a sync method. Method runs synchronously.