Use Vlinder::Atomics
[Arachnida.git] / lib / Spin / Details / Header.h
blob3cc9263389e2407e8ce6f914b87bc0ac16244045
1 #ifndef _spin_details_header_h
2 #define _spin_details_header_h
4 #include <list>
6 namespace Spin
8 namespace Details
10 //! An HTTP header: a name-value pair
11 struct Header
13 Header()
14 { /* no-op */ }
16 Header(const std::string & name, const std::string & value)
17 : name_(name),
18 value_(value)
19 { /* no-op */ }
21 std::string name_; ///< the name
22 std::string value_; ///< the value
24 typedef std::list< Header > HeaderFields; ///< the type of the list of header fields
28 #endif