28 #include <olp/core/CoreApi.h>
29 #include <olp/core/client/CancellationContext.h>
30 #include <olp/core/client/OlpClientSettings.h>
77 void SetBaseUrl(const std::
string& base_url);
84 std::
string GetBaseUrl() const;
126 const std::
string& content_type,
177 http::Network::DataCallback data_callback,
179 std::
string content_type,
184 std::shared_ptr<OlpClientImpl> impl_;
A wrapper that manages the cancellation state of an asynchronous operation in a thread-safe way.
Definition: CancellationContext.h:40
Cancels service requests.
Definition: CancellationToken.h:33
This class represents the HTTP response created from the NetworkResponse and the request body.
Definition: HttpResponse.h:89
Executes HTTP requests by using the base url and the provided parameters and body....
Definition: OlpClient.h:39
OlpClient(OlpClient &&) noexcept
A move constructor.
OlpClient & operator=(const OlpClient &)
An assignement operator.
std::shared_ptr< std::vector< std::uint8_t > > RequestBodyType
An alias for the HTTP request body.
Definition: OlpClient.h:45
OlpClient(const OlpClient &)
A copy constructor.
OlpClient(const OlpClientSettings &settings, std::string base_url)
Creates the OlpClient instance.
std::multimap< std::string, std::string > ParametersType
An alias for the parameters and headers type.
Definition: OlpClient.h:42
std::function< void(HttpResponse)> NetworkAsyncCallback
An alias for the asynchronous network callback.
Definition: OlpClientSettings.h:57
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24
Configures the behavior of the OlpClient class.
Definition: OlpClientSettings.h:180