Reputation: 113
protected internal abstract Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken);
Task<HttpResponseMessage> task = _handler.SendAsync(request, cancellationToken);
How to call protected method?
Upvotes: 0
Views: 249
Reputation: 25039
It's not protected
. It's protected internal
. Which means "protected
OR internal
". This method can be called by any code in the same assembly.
What is the difference between 'protected' and 'protected internal'?
Upvotes: 1