Interface HttpClientEngine

All Known Implementing Classes:
DefaultHttpClientEngine

public interface HttpClientEngine
Interface for executing HTTP requests. Provides a way to abstract the underlying HTTP client implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Executes an HTTP request and returns the response.
  • Method Details

    • execute

      ApiResponse execute(ApiRequest request)
      Executes an HTTP request and returns the response.
      Parameters:
      request - the configured request
      Returns:
      ApiResponse containing the result
      Throws:
      ApiException - if the request fails