blob: 9546ec5d0fbaadd3561dd9a4a29fb8cbb94735bf [file] [log] [blame]
'use strict';
import nodeFetch, {Headers} from 'node-fetch';
import fetchCookie from 'fetch-cookie';
var fetch = fetchCookie(nodeFetch);
/* We can fake the abort, the http adapter keeps track
of ignoring the result */
function AbortController() {
return {abort: function () {}};
}
export {fetch, Headers, AbortController};