mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Add ripple_client module unity build and move RPCServer into it
This commit is contained in:
@@ -17,7 +17,10 @@
|
||||
#include "Log.h"
|
||||
#include "Version.h"
|
||||
|
||||
SETUP_LOG();
|
||||
// Used for logging
|
||||
struct RPC
|
||||
{
|
||||
};
|
||||
|
||||
using namespace boost;
|
||||
using namespace boost::asio;
|
||||
@@ -77,7 +80,7 @@ std::string rfc1123Time()
|
||||
|
||||
std::string HTTPReply(int nStatus, const std::string& strMsg)
|
||||
{
|
||||
cLog(lsTRACE) << "HTTP Reply " << nStatus << " " << strMsg;
|
||||
WriteLog (lsTRACE, RPC) << "HTTP Reply " << nStatus << " " << strMsg;
|
||||
|
||||
if (nStatus == 401)
|
||||
return strprintf("HTTP/1.0 401 Authorization Required\r\n"
|
||||
|
||||
Reference in New Issue
Block a user