|
Common System 0.2.0
Common interfaces and patterns for system integration
|
HTTP client interface for transport abstraction. More...
#include <chrono>#include <cstdint>#include <map>#include <optional>#include <string>#include <vector>#include <kcenon/common/patterns/result.h>

Go to the source code of this file.
Classes | |
| struct | kcenon::common::interfaces::http_request |
| Represents an HTTP request. More... | |
| struct | kcenon::common::interfaces::http_response |
| Represents an HTTP response. More... | |
| interface | kcenon::common::interfaces::IHttpClient |
| Abstract interface for HTTP client implementations. More... | |
| class | kcenon::common::interfaces::null_http_client |
| Null implementation for when HTTP transport is disabled. More... | |
| interface | kcenon::common::interfaces::IHttpClientProvider |
| Interface for modules that provide HTTP client implementations. More... | |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::common |
| Core interfaces. | |
| namespace | kcenon::common::interfaces |
Typedefs | |
| using | kcenon::common::interfaces::http_headers = std::map<std::string, std::string> |
| HTTP headers container type. | |
| using | kcenon::common::interfaces::HttpClientFactory = std::function<std::shared_ptr<IHttpClient>()> |
| Factory function type for creating HTTP client instances. | |
HTTP client interface for transport abstraction.
This header defines the abstract HTTP client interface that enables dependency injection for HTTP communication across the ecosystem. Implementations can be provided by network_system or monitoring_system.
Definition in file http_client_interface.h.