Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
kcenon::common::concepts::HttpClientProviderLike Concept Reference

A type that can provide HTTP client instances. More...

#include <transport.h>

Concept definition

template<typename T>
{ t.get_http_client() };
{ t.create_http_client() };
}
A type that can provide HTTP client instances.
Definition transport.h:127

Detailed Description

A type that can provide HTTP client instances.

Types satisfying this concept can create and retrieve HTTP clients, enabling dependency injection for HTTP communication.

Example usage:

template<HttpClientProviderLike P>
auto get_client(P& provider) {
return provider.get_http_client();
}

Definition at line 127 of file transport.h.