| 35 | } |
| 36 | |
| 37 | void HttpHeader::Swap(HttpHeader &rhs) { |
| 38 | _headers.swap(rhs._headers); |
| 39 | _uri.Swap(rhs._uri); |
| 40 | std::swap(_status_code, rhs._status_code); |
| 41 | std::swap(_method, rhs._method); |
| 42 | _content_type.swap(rhs._content_type); |
| 43 | _unresolved_path.swap(rhs._unresolved_path); |
| 44 | std::swap(_version, rhs._version); |
| 45 | } |
| 46 | |
| 47 | void HttpHeader::Clear() { |
| 48 | _headers.clear(); |