function Fetcher(options) {
    this._serviceMeta = [];
    this.options = {
        headers: options.headers,
        xhrPath: options.xhrPath,
        xhrTimeout: options.xhrTimeout,
        corsPath: options.corsPath,
        context: options.context,
        contextPicker: options.contextPicker,
        statsCollector: options.statsCollector,
        _serviceMeta: this._serviceMeta,
    };
}
/**
 * Fetcher class for the client. Provides CRUD methods.
 * @class FetcherClient
 * @param {Object} options configuration options for Fetcher
 * @param {String} [options.xhrPath="/api"] The path for requests
 * @param {Number} [options.xhrTimout=3000] Timeout in milliseconds for all requests
 * @param {Boolean} [options.corsPath] Base CORS path in case CORS is enabled
 * @param {Object} [options.context] The context object that is propagated to all outgoing
 *      requests as query params.  It can contain current-session/context data that should
 *      persist to all requests.
 * @param {Object} [options.contextPicker] The context picker for GET
 *      and POST, they must be a string, a an array or function with
 *      three arguments (value, key, object) to extract keys from
 *      context.
 * @param {Function|String|String[]} [options.contextPicker.GET] GET context picker
 * @param {Function|String|String[]} [options.contextPicker.POST] POST context picker
 * @param {Function} [options.statsCollector] The function will be invoked with 1 argument:
 *      the stats object, which contains resource, operation, params (request params),
 *      statusCode, err, and time (elapsed time)
 */
Fetcher class for the client. Provides CRUD methods.
Fetcher class for the client . Provides CRUD methods .
function Fetcher(options) {
    this._serviceMeta = [];
    this.options = {
        headers: options.headers,
        xhrPath: options.xhrPath,
        xhrTimeout: options.xhrTimeout,
        corsPath: options.corsPath,
        context: options.context,
        contextPicker: options.contextPicker,
        statsCollector: options.statsCollector,
        _serviceMeta: this._serviceMeta,
    };
}
function Fetcher ( options ) { this . _serviceMeta = [ ] ; this . options = { headers : options . headers , xhrPath : options . xhrPath , xhrTimeout : options . xhrTimeout , corsPath : options . corsPath , context : options . context , contextPicker : options . contextPicker , statsCollector : options . statsCollector , _serviceMeta : this . _serviceMeta , } ; }
Fetcher class for the client.
Fetcher class for the client .