openid / OpenYOLO-Web

Web protocol for credential exchange and update - "You Only Login Once"
http://openid.net/wg/ac/
Apache License 2.0
100 stars 16 forks source link

Add a setTimeouts(timeoutMs: number) method to configure manually the timeout of every request #36

Closed TMSCH closed 7 years ago

TMSCH commented 7 years ago

The signature of the method should be:

OpenYoloApi.prototype.setTimeouts(timeoutMs: number): void;

We can remove the setTimeoutsEnabled() in favor of the new method, by considering a 0 as timeouts disabled.

TMSCH commented 7 years ago

Done: https://github.com/openid/OpenYOLO-Web/pull/37