[]
Defines an interface for handling web requests asynchronously. This interface provides a way to send GET requests to a specified URI.
public interface IWebRequestHandler
Sends a GET request to the specified URI asynchronously.
Task<WebRequestResult> GetAsync(string requestUri)
requestUri
stringThe URI to send the GET request to.
A System.Threading.Tasks.Task<TResult> representing the asynchronous operation. The System.Threading.Tasks.Task<TResult> will contain a WebRequestResult object representing the result of the web request.