mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Split HTTP::Server to its own module
This commit is contained in:
25
src/ripple/http/impl/Session.cpp
Normal file
25
src/ripple/http/impl/Session.cpp
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user