Would it be best if AuthenticationHandlerand ErrorHandler were in the HttpMessageHandler instead of being in the RestHttpClient class?
This way HttpMessageHandler's SendAsync() implementation would take place of RestHttpClient's RestSendAsync(HttpRequestMessage) method and hence it would be more flexible to the developer (say, if he/she only wants the auth & error handling on a regular Httpclient for example).
Of course this would break a lot of stuff in the actual (0.5.0) version.
Would it be best if AuthenticationHandlerand ErrorHandler were in the HttpMessageHandler instead of being in the RestHttpClient class?
This way HttpMessageHandler's SendAsync() implementation would take place of RestHttpClient's RestSendAsync(HttpRequestMessage) method and hence it would be more flexible to the developer (say, if he/she only wants the auth & error handling on a regular Httpclient for example).
Of course this would break a lot of stuff in the actual (0.5.0) version.