Interface IWebRequestHandler
public interface IWebRequestHandler
Defines an interface for handling web requests asynchronously. This interface provides a way to send GET requests to a specified URI.
-
Method Summary
Sends a GET request to the specified URI asynchronously.
-
Method Details
-
getAsync
Sends a GET request to the specified URI asynchronously.
- Parameters:
requestUri - the URI to send the GET request to
- Returns:
- a
CompletableFuture representing the asynchronous operation, which will contain a WebRequestResult object representing the result of the web request