mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
Abstract parseUrl.
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
#include <boost/date_time/posix_time/posix_time.hpp>
|
||||
#include <boost/asio/read_until.hpp>
|
||||
|
||||
|
||||
|
||||
#include "../json/reader.h"
|
||||
#include "../json/writer.h"
|
||||
|
||||
@@ -28,12 +26,9 @@ SETUP_LOG();
|
||||
RPCServer::RPCServer(boost::asio::io_service& io_service , NetworkOPs* nopNetwork)
|
||||
: mNetOps(nopNetwork), mSocket(io_service)
|
||||
{
|
||||
|
||||
mRole = RPCHandler::GUEST;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void RPCServer::connected()
|
||||
{
|
||||
//std::cerr << "RPC request" << std::endl;
|
||||
@@ -152,7 +147,6 @@ std::string RPCServer::handleRequest(const std::string& requestStr)
|
||||
return HTTPReply(200, strReply);
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
// now, expire, n
|
||||
bool RPCServer::parseAcceptRate(const std::string& sAcceptRate)
|
||||
|
||||
Reference in New Issue
Block a user