The goal here it to be able to plug in a back-off algorithm to slow down requests i.e. in the case of a brute force. As a separate benefit, could be used to simulate a server under load.
Requires an int which represents delay in milisecondswhere <= 0 means no delay. Q: Should there be a max value?
The goal here it to be able to plug in a back-off algorithm to slow down requests i.e. in the case of a brute force. As a separate benefit, could be used to simulate a server under load.
Requires an
int
which represents delay in milisecondswhere <= 0 means no delay. Q: Should there be a max value?app.MinResponseDelay(50)
app.MinResponseDelay(() => 50)
app.MinResponseDelay(request => calcValue)