Skip to content

Commit 2f1dee8

Browse files
author
ky
committed
add to network::http::request_header/response_header typedef string_type (for header concept)
1 parent f77a94f commit 2f1dee8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/network/protocol/http/message/header.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace network {
2424
namespace http {
2525

2626
struct request_header {
27+
typedef std::string string_type;
2728
std::string name, value;
2829
};
2930

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

3536
struct response_header {
37+
typedef std::string string_type;
3638
std::string name, value;
3739
};
3840

0 commit comments

Comments
 (0)