class ArdkConfigInternalExtension (Niantic.ARDK.Configuration.Internal.ArdkConfigInternalExtension)

Overview

class ArdkConfigInternalExtension {
public:
    // fields

    static const string AuthorizationHeaderKey = "Authorization";
    static const string ClientIdHeaderKey = "x-ardk-clientid";
    static const string UserIdHeaderKey = "x-ardk-userid";

    // methods

    static Dictionary<string, string> GetApiGatewayHeader(this _IArdkConfigInternal config);
    static string GetCommonDataEnvelopeAsJson(this _IArdkConfigInternal config);
    static string GetCommonDataEnvelopeWithRequestIdAsJson(this _IArdkConfigInternal config);
    static ARCommonMetadataStruct GetCommonDataEnvelopeWithRequestIdAsStruct(this _IArdkConfigInternal config);
};

Detailed Documentation

Methods

static string GetCommonDataEnvelopeAsJson(this _IArdkConfigInternal config)

Get the common data envelope (client metadata protobuf) serialized into a Json string.

static string GetCommonDataEnvelopeWithRequestIdAsJson(this _IArdkConfigInternal config)

Get the common data envelope (client metadata protobuf) serialized into a Json string Additionally populates the request_id field with a randomly generated UUID.