RemoteConfigFetchResponse class

Represents a fetch response that can be used to interact with RC's client SDK.

Signature:

export declare class RemoteConfigFetchResponse 

Constructors

ConstructorModifiersDescription
(constructor)(app, serverConfig, requestEtag)Constructs a new instance of the RemoteConfigFetchResponse class

Methods

MethodModifiersDescription
toJSON()

RemoteConfigFetchResponse.(constructor)

Constructs a new instance of the RemoteConfigFetchResponse class

Signature:

constructor(app: App, serverConfig: ServerConfig, requestEtag?: string);

Parameters

ParameterTypeDescription
appAppThe app for this RemoteConfig service.
serverConfigServerConfigThe server config for which to generate a fetch response.
requestEtagstringA request eTag with which to compare the current response.

RemoteConfigFetchResponse.toJSON()

Signature:

toJSON(): FetchResponseData;

Returns:

FetchResponseData

JSON representation of the fetch response that can be consumed by the RC client SDK.