示例#1
0
 /// <summary>
 /// Creates a new instance of the <see cref="ThrottlingHandler"/> class.
 /// By default, the <see cref="QuotaExceededResponseCode"/> property 
 /// is set to 429 (Too Many Requests).
 /// </summary>
 public ThrottlingFilter()
 {
     QuotaExceededResponseCode = (HttpStatusCode)429;
     Repository = new CacheRepository();
 }