Take the tour ×  I'm trying to create a class that extends
httpclient but still is abstract.  public abstract class
Repository : HttpClient     public override async
Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
CancellationToken cancellationToken)         //retry logic here
var response = await base.SendAsync(request, cancellationToken);
while (!IsValid(response))             response = await
Retry(request, cancellationToken);         Attempts = 0;
return response;     public int Attempts { get; set; }
public abstract bool IsValid(HttpResponseMessage response);
public abstract Task<HttpResponseMessage>
Retry(HttpRequestMessage request, CancellationToken
cancellationToken);     public abstract Type GetPageForUri(Uri
uri);     public abstract Task<object> GetItems(Uri uri);  but
when a subclass calls getStringAsync it does not call SendAsync
in Repository  public class EmailClient : Repository     public
override bool IsValid(HttpResponseMessage response)