]> git.tdb.fi Git - libs/net.git/blobdiff - source/http/header.h
Decorate things which constitute the public API
[libs/net.git] / source / http / header.h
index c3d07f38dc81d75ec979ddc5538b0cc2c8aa4d54..1beb95f01f5327ff6ed40a0dc2ffde5cda35279d 100644 (file)
@@ -4,13 +4,14 @@
 #include <map>
 #include <string>
 #include <vector>
+#include <msp/net/mspnet_api.h>
 
 namespace Msp {
 namespace Http {
 
 class Message;
 
-struct Header
+struct MSPNET_API Header
 {
        enum Style
        {
@@ -33,7 +34,7 @@ struct Header
        std::string raw_value;
        std::vector<Value> values;
 
-       Header() { }
+       Header() = default;
        Header(const Message &, const std::string &, Style = DEFAULT);
        Header(const std::string &, const std::string &, Style = DEFAULT);