Constructor of Downloader, you can pass custom supported types.
method
constructor
param
Custom supported types with corresponded handler
example
let downloader = new Downloader({
// This will match all url with `.scene` extension orall url with `scene` type'scene' : function (url, callback) {}
});
Constructor of Downloader, you can pass custom supported types.
constructor
Custom supported types with corresponded handler
let downloader = new Downloader({ // This will match all url with `.scene` extension or all url with `scene` type 'scene' : function (url, callback) {} });