How to use the popsicle.Request function in popsicle

To help you get started, we’ve selected a few popsicle examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SwellRT / swellrt / pad / node_modules / typings / node_modules / typings-core / node_modules / popsicle-retry / dist / index.js View on Github external
setTimeout(function () {
                    var options = extend(request.toOptions(), {
                        use: request.middleware.slice(request.middleware.indexOf(retry))
                    });
                    return resolve(new popsicle_1.Request(options));
                }, delay);
            });