SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Swap()

void Spices::Net::HttpRequest::Swap ( HttpRequest & rhs)

Swap with another HttpRequest.

Parameters
[in]rhsanother HttpRequest.

Definition at line 65 of file HttpRequest.cpp.

66 {
68
69 std::swap(m_Method, rhs.m_Method);
70 std::swap(m_Version, rhs.m_Version);
71 m_Path.swap(rhs.m_Path);
72 m_Parameters.swap(rhs.m_Parameters);
73 m_Headers.swap(rhs.m_Headers);
74 }
#define SPICES_PROFILE_ZONE
Version m_Version
Http Version.
std::unordered_map< std::string, std::string > m_Headers
Http Headers.
std::string m_Path
Http Path.
std::unordered_map< std::string, std::string > m_Parameters
Http Parameters.
Method m_Method
Http Method.

References m_Method, m_Path, and m_Version.