forked from boostorg/beast
Remove message free functions (API Change)
This commit is contained in:
@@ -194,25 +194,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
testFreeFunctions()
|
||||
{
|
||||
{
|
||||
request<string_body> m;
|
||||
m.method(verb::get);
|
||||
m.target("/");
|
||||
m.version = 11;
|
||||
m.insert("Upgrade", "test");
|
||||
BEAST_EXPECT(! is_upgrade(m));
|
||||
|
||||
m.insert(field::connection, "upgrade");
|
||||
BEAST_EXPECT(is_upgrade(m));
|
||||
|
||||
m.version = 10;
|
||||
BEAST_EXPECT(! is_upgrade(m));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
testSwap()
|
||||
{
|
||||
@@ -312,7 +293,6 @@ public:
|
||||
{
|
||||
testMessage();
|
||||
testHeaders();
|
||||
testFreeFunctions();
|
||||
testSwap();
|
||||
testSpecialMembers();
|
||||
testMethod();
|
||||
|
||||
Reference in New Issue
Block a user