Skip to content

Commit

Permalink
add to network::http::request_header/response_header typedef string_t…
Browse files Browse the repository at this point in the history
…ype (for header concept)
  • Loading branch information
ky committed Dec 7, 2012
1 parent f77a94f commit 2f1dee8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/network/protocol/http/message/header.hpp
Expand Up @@ -24,6 +24,7 @@ namespace network {
namespace http {

struct request_header {
typedef std::string string_type;
std::string name, value;
};

Expand All @@ -33,6 +34,7 @@ inline void swap(request_header & l, request_header & r) {
}

struct response_header {
typedef std::string string_type;
std::string name, value;
};

Expand Down

0 comments on commit 2f1dee8

Please sign in to comment.