mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Send output incrementally in ServerHandlerImp.
This commit is contained in:
committed by
Vinnie Falco
parent
167f4666e2
commit
fc9a23d6d4
@@ -21,22 +21,11 @@
|
||||
#define RIPPLE_SERVER_JSONRPCUTIL_H_INCLUDED
|
||||
|
||||
#include <ripple/json/json_value.h>
|
||||
#include <ripple/rpc/Output.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
// VFALCO These functions are all deprecated they are inefficient and have poor signatures.
|
||||
|
||||
extern std::string JSONRPCReply (Json::Value const& result, Json::Value const& error, Json::Value const& id);
|
||||
|
||||
extern Json::Value JSONRPCError (int code, std::string const& message);
|
||||
|
||||
// VFALCO This needs to be rewritten to use beast::http::message
|
||||
extern std::string HTTPReply (int nStatus, std::string const& strMsg);
|
||||
|
||||
// VFALCO NOTE This one looks like it does some sort of stream i/o
|
||||
extern int ReadHTTP (std::basic_istream<char>& stream,
|
||||
std::map<std::string, std::string>& mapHeadersRet,
|
||||
std::string& strMessageRet);
|
||||
void HTTPReply (int nStatus, std::string const& strMsg, RPC::Output);
|
||||
|
||||
} // ripple
|
||||
|
||||
|
||||
Reference in New Issue
Block a user