"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var GlobalSettings = /** @class */ (function () {
    function GlobalSettings(gatewayUrl) {
        /**
         * 请求响应超时时间 ms
         */
        this.responseTimeoutMs = 5000;
        /**
         * SID请求方式 HEAD 通过Header传参请求、URI 通过URI请求
         */
        this.sidStore = SIDStore.HEAD;
        /**
         * 响应成功后回调函数
         */
        this.onSucceed = undefined;
        /**
         * 失败后回调函数
         */
        this.onFailed = undefined;
        this.gatewayUrl = gatewayUrl;
    }
    return GlobalSettings;
}());
exports.GlobalSettings = GlobalSettings;
var SIDStore;
(function (SIDStore) {
    SIDStore[SIDStore["URI"] = 0] = "URI";
    SIDStore[SIDStore["HEAD"] = 1] = "HEAD";
})(SIDStore = exports.SIDStore || (exports.SIDStore = {}));
//# sourceMappingURL=GlobalSettings.js.map