Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7edad2e

Browse files
committed
Refactored library for changes to URI.
1 parentd2882cd commit7edad2e

File tree

15 files changed

+452
-867
lines changed

15 files changed

+452
-867
lines changed

‎CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if (Boost_FOUND)
1818
include_directories(${Boost_INCLUDE_DIRS})
1919
endif()
2020
enable_testing()
21-
add_subdirectory(libs/network/build)
21+
add_subdirectory(libs/network/src)
2222
add_subdirectory(libs/network/test)
2323
add_subdirectory(libs/mime/test)
2424
add_subdirectory(libs/network/example)

‎boost/network/protocol/http/impl/request.hpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
#include<boost/cstdint.hpp>
2626

27-
namespaceboost {namespacenetwork {
28-
27+
namespaceboost {namespacenetwork {
28+
2929
/** Specialize the traits for the http_server tag.*/
3030
template<>
3131
structheaders_container<http::tags::http_server> :
@@ -92,7 +92,7 @@ namespace http {
9292
}
9393

9494
port_typeport()const {
95-
returnuri::port(uri_);
95+
returnuri::port_us(uri_);
9696
}
9797

9898
string_typeconstpath()const {
@@ -162,7 +162,7 @@ namespace http {
162162
};
163163

164164
template<>
165-
structbasic_request<tags::http_async_server>
165+
structbasic_request<tags::http_async_server>
166166
: not_quite_pod_request_base<tags::http_async_server>
167167
{};
168168

‎boost/network/protocol/http/message/wrappers/port.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace boost { namespace network { namespace http {
3030
}
3131

3232
operator boost::optional<boost::uint16_t> () {
33-
returnport(message_.uri());
33+
returnport_us(message_.uri());
3434
}
3535
};
3636

‎boost/network/protocol/http/policies/sync_resolver.hpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include<utility>
1010
#include<boost/network/protocol/http/traits/resolver.hpp>
1111
#include<boost/fusion/adapted/std_pair.hpp>
12+
#include<boost/fusion/include/tuple.hpp>
1213
#include<boost/network/traits/string.hpp>
1314
#include<boost/algorithm/string/case_conv.hpp>
1415
#include<boost/unordered_map.hpp>

‎boost/network/uri.hpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include<boost/network/traits/string.hpp>
1010
#include<boost/network/uri/uri.hpp>
11+
#include<boost/network/uri/http/uri.hpp>
1112

1213

1314
namespaceboost {namespacenetwork {namespaceuri {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp