Split HTTP::Server to its own module

This commit is contained in:
Vinnie Falco
2013-09-22 00:13:58 -07:00
parent 0dc3cf07d0
commit a2151bfa47
34 changed files with 1729 additions and 1371 deletions

View File

@@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
/*
Copyright (c) 2011-2013, OpenCoin, Inc.
*/
//==============================================================================
namespace ripple {
namespace HTTP {
Session::Session ()
: headersComplete (false)
, tag (nullptr)
{
content.reserve (1000);
reply.reserve (1000);
}
ScopedStream Session::operator<< (
std::ostream& manip (std::ostream&))
{
return ScopedStream (*this, manip);
}
}
}