function onRequest(config) {
	const array = interceptors
		.filter(i => i.request || i.requestError)
		.map(i => ({ on: i.request, onError: i.requestError }));
	return onData(array, config);
}
/**
 * onRequest consume all interceptors to enrich the config argument
 * @param {Object} config http config object
 * @return {Promise} config object
 */
onRequest consume all interceptors to enrich the config argument
@param {Object} config http config object
@return {Promise} config object
onRequest consume all interceptors to enrich the config argument @param { Object } config http config object @return { Promise } config object
function onRequest(config) {
	const array = interceptors
		.filter(i => i.request || i.requestError)
		.map(i => ({ on: i.request, onError: i.requestError }));
	return onData(array, config);
}
function onRequest ( config ) { const array = interceptors . filter ( i => i . request || i . requestError ) . map ( i => ( { on : i . request , onError : i . requestError } ) ) ; return onData ( array , config ) ; }
onRequest consume all interceptors to enrich the config argument
 @param {Object} config http config object
 @return {Promise} config object
onRequest consume all interceptors to enrich the config argument @param { Object } config http config object @return { Promise } config object