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

Message refactor#631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deanberris merged 11 commits intocpp-netlib:masterfromglynos:message_refactor
Apr 11, 2016
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
11 commits
Select commitHold shift + click to select a range
858eea7
Added image to the license in README.rst.
glynosApr 4, 2016
0187ec1
Removed some redundant headers.
glynosApr 2, 2016
047d89c
Added a first test in order to start refactoring the HTTP request/res…
glynosApr 3, 2016
40bab67
Since I removed the include directory in a previous commit, I have no…
glynosApr 3, 2016
175cdd3
Updated the examples that used the include directory that I removed.
glynosApr 3, 2016
5614b43
Removed boost/network.hpp
glynosApr 9, 2016
2f61e45
Fixed string constants.
glynosApr 10, 2016
4c9fbda
Added a unit tests for the HTTP client request.
glynosApr 10, 2016
5f6ab56
Added a unit test for the HTTP client response.
glynosApr 10, 2016
99c777c
Removed some headers that looked redundant.
glynosApr 10, 2016
1e14f3c
Refactored HTTP client request and response.
glynosApr 10, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Added a first test in order to start refactoring the HTTP request/res…
…ponse types.
  • Loading branch information
@glynos
glynos committedApr 4, 2016
commit047d89c905dfec56ed6e7dbc5d96afa8ec87c0c0
14 changes: 14 additions & 0 deletionsboost/network/protocol/http/client/client_request.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
// Copyright 2016 Glyn Matthews.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/network/protocol/http/impl/request.hpp>

namespace boost {
namespace network {
namespace http {
using client_request = basic_request<tags::http_async_8bit_tcp_resolve>;
} // namespace http
} // namespace network
} // namespace boost
2 changes: 1 addition & 1 deletionlibs/network/test/CMakeLists.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@ add_subdirectory(uri)
add_subdirectory(http)

if (Boost_FOUND)
set(TESTSmessage_test message_transform_testutils_thread_pool
set(TESTS utils_thread_pool
# utils_base64_test -- turn on when ready.
)
foreach (test ${TESTS})
Expand Down
1 change: 1 addition & 0 deletionslibs/network/test/http/CMakeLists.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -33,6 +33,7 @@ if (Boost_FOUND)
${CPP-NETLIB_BINARY_DIR}/tests/cpp-netlib-http-${test})
endforeach (test)
set(TESTS
http_client_request_test
client_constructor_test
client_get_test
client_get_different_port_test
Expand Down
2 changes: 1 addition & 1 deletionlibs/network/test/http/client_constructor_test.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,7 +8,7 @@
// Migrated from using Boost.Test to using googletest intead.
#include <gtest/gtest.h>

#include <boost/network/include/http/client.hpp>
#include <boost/network/protocol/http/client.hpp>
#include "client_types.hpp"

namespace http = boost::network::http;
Expand Down
14 changes: 14 additions & 0 deletionslibs/network/test/http/http_client_request_test.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
// Copyright 2016 Glyn Matthews.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <gtest/gtest.h>
#include <boost/network/protocol/http/client/client_request.hpp>

namespace http = boost::network::http;

TEST(http_client_request_test, default_construct)
{
ASSERT_NO_THROW(http::client_request{});
}
63 changes: 0 additions & 63 deletionslibs/network/test/message_test.cpp
View file
Open in desktop

This file was deleted.

41 changes: 0 additions & 41 deletionslibs/network/test/message_transform_test.cpp
View file
Open in desktop

This file was deleted.


[8]ページ先頭

©2009-2025 Movatter.jp