12 inline void Headers::Add (
const KeyValuePair<String, String>& hrdAndValue)
14 Add (hrdAndValue.fKey, hrdAndValue.fValue);
16 inline void Headers::Add (
const pair<String, String>& hrdAndValue)
18 Add (hrdAndValue.first, hrdAndValue.second);
20 inline void Headers::operator+= (
const pair<String, String>& hrdAndValue)
24 inline void Headers::operator+= (
const KeyValuePair<String, String>& hrdAndValue)
28 inline void Headers::operator+= (
const Headers& headers)
33 inline Iterable<KeyValuePair<String, String>>
Headers::As ()
const
35 return As<Collection<KeyValuePair<String, String>>> ();
37 inline bool Headers::operator== (
const Headers& rhs)
const
39 using ExtrasComparer = Collection<KeyValuePair<String, String>>::SequentialEqualsComparer<>;
42 ExtrasComparer{}(fExtraHeaders_, rhs.fExtraHeaders_)
43 and fCacheControl_ == rhs.fCacheControl_
44 and fContentLength_ == rhs.fContentLength_
45 and fContentType_ == rhs.fContentType_
46 and fCookieList_ == rhs.fCookieList_
47 and fDate_ == rhs.fDate_
48 and fETag_ == rhs.fETag_
49 and fHost_ == rhs.fHost_
50 and fIfNoneMatch_ == rhs.fIfNoneMatch_
51 and fSetCookieList_ == rhs.fSetCookieList_
52 and fTransferEncoding_ == rhs.fTransferEncoding_
53 and fVary_ == rhs.fVary_