function Fetcher(options) {
    this.options = options || {};
    this.req = this.options.req || {};
    this._serviceMeta = [];
}
/**
 * Fetcher class for the server.
 * Provides interface to register data services and
 * to later access those services.
 * @class Fetcher
 * @param {Object} options configuration options for Fetcher
 * @param {Object} [options.req] The express request object.  It can contain per-request/context data.
 * @param {string} [options.xhrPath="/api"] The path for XHR requests. Will be ignored server side.
 * @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)
 * @param {Function} [options.paramsProcessor] The function will be invoked with 3 arguments:
 *      the req object, the serviceInfo object, and the params object.  It is expected to return the processed params object.
 * @constructor
 */
Fetcher class for the server.
Provides interface to register data services and
to later access those services.
@class Fetcher
@param {Object} options configuration options for Fetcher
@param {Object} [options.req] The express request object.  It can contain per-request/context data.
@param {string} [options.xhrPath="/api"] The path for XHR requests. Will be ignored server side.
@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)
@param {Function} [options.paramsProcessor] The function will be invoked with 3 arguments:
the req object, the serviceInfo object, and the params object.  It is expected to return the processed params object.
@constructor
Fetcher class for the server . Provides interface to register data services and to later access those services . @class Fetcher @param { Object } options configuration options for Fetcher @param { Object } [ options . req ] The express request object . It can contain per - request / context data . @param { string } [ options . xhrPath = " / api " ] The path for XHR requests . Will be ignored server side . @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 ) @param { Function } [ options . paramsProcessor ] The function will be invoked with 3 arguments : the req object the serviceInfo object and the params object . It is expected to return the processed params object . @constructor
function Fetcher(options) {
    this.options = options || {};
    this.req = this.options.req || {};
    this._serviceMeta = [];
}
function Fetcher ( options ) { this . options = options || { } ; this . req = this . options . req || { } ; this . _serviceMeta = [ ] ; }
Fetcher class for the server.
Fetcher class for the server .