20namespace network_manager
23namespace common_headers
44namespace common_content_types
58 bool hasSameName (
const Header& header)
const;
59 bool hasSameName (
const std::string&
name)
const;
61 static Header Parse (
const std::string& header);
71 void setHeader (
const Header& header);
72 void setHeader (
const std::string& headerName, std::string headerValue);
74 void addHeader (
Header header);
75 void addHeader (std::string headerName, std::string headerValue);
77 bool hasHeader (
const std::string& headerName)
const noexcept;
79 std::string getHeaderValue (
const std::string& headerName)
const;
81 const Header* getHeader (
size_t idx)
const noexcept;
82 const Header* getHeader (
const std::string&
name)
const noexcept;
84 size_t getHeadersCount () const noexcept;
92 Header* getHeader (
size_t idx) noexcept;
93 Header* getHeader (const
std::
string& headerName) noexcept;
Declare macros for the Network Manager library DLL API.
#define NETWORK_MANAGER_API
const std::string ApplicationXml
const std::string ApplicationXWwwFormUrlencoded
const std::string ApplicationXGzip
const std::string ApplicationJson
const std::string MultipartFormData
const std::string ApplicationXOctetStream
const char * end(const char *str) noexcept
const char * begin(const char *str) noexcept