24 #include <olp/core/http/NetworkTypes.h>
57 const std::string& str2,
72 const std::string& str2,
87 const std::string& str2,
size_t offset = 0);
Network internal utilities.
Definition: NetworkUtils.h:31
static bool CaseInsensitiveCompare(const std::string &str1, const std::string &str2, size_t offset=0)
Checks whether the source string matches the specified string disregarding the case.
static char SimpleToUpper(char c)
Changes the specified character to uppercase.
static bool CaseInsensitiveStartsWith(const std::string &str1, const std::string &str2, size_t offset=0)
Checks whether the source string begins with the characters of the specified string ignoring the case...
static size_t CaseInsensitiveFind(const std::string &str1, const std::string &str2, size_t offset=0)
Checks whether the source string contains characters of the specified string ignoring the case.
static std::string ExtractUserAgent(Headers &headers)
Extracts the user agent from the headers.
CORE_API std::string HttpErrorToString(int http_status)
Converts the HTTP error status code to string.
std::vector< Header > Headers
An alias for a vector of the HTTP headers.
Definition: NetworkTypes.h:140
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24