2 #ifndef _YI_HTTP_SERVICE_H_ 3 #define _YI_HTTP_SERVICE_H_ 18 class CYIHTTPServicePriv;
136 std::shared_ptr<CYIHTTPResponse>
EnqueueRequest(
const std::shared_ptr<CYIHTTPRequest> &pRequest);
141 void CancelRequest(
const std::shared_ptr<CYIHTTPRequest> &pRequest);
183 #endif // _YI_HTTP_SERVICE_H_ Definition: YiHTTPService.h:25
friend class CYIHTTPServicePriv
Definition: YiHTTPService.h:36
void CancelRequest(const std::shared_ptr< CYIHTTPRequest > &pRequest)
void SetMaxRedirects(uint32_t uMaxRedirects)
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
Definition: YiHTTPService.h:29
Contains information required to configure and perform a HTTP request.
Definition: YiHTTPRequest.h:34
void SetMaxConcurrentConnections(uint32_t uMaxConnections)
Definition: YiHTTPService.h:24
The base class for an object accessible from script source code.
Definition: YiScriptableObject.h:28
Definition: YiHTTPService.h:23
void SetProxyUrl(const CYIUrl &proxyUrl)
CYINetworkConfiguration is a data structure that describes the properties of the You.i Engine network components.
Definition: YiNetworkConfiguration.h:22
static CYIHTTPService * GetInstance()
static void SetSSLRootCertificate(const CYIString &rPath)
Definition: YiHTTPService.h:31
An HTTP response class which includes the header and body portions of the response.
Definition: YiHTTPResponse.h:24
Definition: YiHTTPService.h:28
Definition: YiHTTPService.h:26
void SetConnectionTimeoutMs(uint32_t uConnectionTimeoutMs)
A class used to encapsulate an URL.
Definition: YiUrl.h:24
void SetNetworkConfiguration(const CYINetworkConfiguration &networkConfiguration)
Definition: YiSignalHandler.h:174
HTTP_STATUS_CODE
Definition: YiHTTPService.h:20
Definition: YiHTTPService.h:34
Definition: YiHTTPService.h:27
CYISignal ServiceActive
Definition: YiHTTPService.h:158
void LogCacheItems() const
Definition: YiHTTPService.h:30
Signals and slots are a thread-safe and flexible communication framework that will allow various obje...
Definition: YiSignal.h:164
void SetNetworkTimeoutMs(uint32_t uNetworkTimeoutMs)
Definition: YiHTTPService.h:22
std::shared_ptr< CYIHTTPResponse > EnqueueRequest(const std::shared_ptr< CYIHTTPRequest > &pRequest)
CYISignal ServiceInactive
Definition: YiHTTPService.h:165