예제 #1
0
 public object UrlFilter(BaseHttpClient client, RequestEntity request, MetaModel meta)
 {
     if (meta?.Get <bool>("dontFilter") == true)
     {
         return(request);
     }
     if (this.bloomFilter.ContainsValue(request.Url.ToString()))
     {
         return(null);
     }
     this.bloomFilter.AddValue(request.Url.ToString());
     return(request);
 }