#include "rpcprotocol.h"
#include "clientversion.h"
#include "tinyformat.h"
#include "util.h"
#include <stdint.h>
#include <boost/algorithm/string.hpp>
#include <boost/asio.hpp>
#include <boost/asio/ssl.hpp>
#include <boost/bind.hpp>
#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>
#include <boost/iostreams/concepts.hpp>
#include <boost/iostreams/stream.hpp>
#include <boost/shared_ptr.hpp>
#include "json/json_spirit_writer_template.h"
Go to the source code of this file.
|
string | HTTPPost (const string &strMsg, const map< string, string > &mapRequestHeaders) |
|
string | HTTPReply (int nStatus, const string &strMsg, bool keepalive) |
|
bool | ReadHTTPRequestLine (std::basic_istream< char > &stream, int &proto, string &http_method, string &http_uri) |
|
int | ReadHTTPStatus (std::basic_istream< char > &stream, int &proto) |
|
int | ReadHTTPHeaders (std::basic_istream< char > &stream, map< string, string > &mapHeadersRet) |
|
int | ReadHTTPMessage (std::basic_istream< char > &stream, map< string, string > &mapHeadersRet, string &strMessageRet, int nProto) |
|
string | JSONRPCRequest (const string &strMethod, const Array ¶ms, const Value &id) |
|
Object | JSONRPCReplyObj (const Value &result, const Value &error, const Value &id) |
|
string | JSONRPCReply (const Value &result, const Value &error, const Value &id) |
|
Object | JSONRPCError (int code, const string &message) |
|
string HTTPPost |
( |
const string & |
strMsg, |
|
|
const map< string, string > & |
mapRequestHeaders |
|
) |
| |
string HTTPReply |
( |
int |
nStatus, |
|
|
const string & |
strMsg, |
|
|
bool |
keepalive |
|
) |
| |
Object JSONRPCError |
( |
int |
code, |
|
|
const string & |
message |
|
) |
| |
string JSONRPCReply |
( |
const Value & |
result, |
|
|
const Value & |
error, |
|
|
const Value & |
id |
|
) |
| |
Object JSONRPCReplyObj |
( |
const Value & |
result, |
|
|
const Value & |
error, |
|
|
const Value & |
id |
|
) |
| |
string JSONRPCRequest |
( |
const string & |
strMethod, |
|
|
const Array & |
params, |
|
|
const Value & |
id |
|
) |
| |
int ReadHTTPHeaders |
( |
std::basic_istream< char > & |
stream, |
|
|
map< string, string > & |
mapHeadersRet |
|
) |
| |
int ReadHTTPMessage |
( |
std::basic_istream< char > & |
stream, |
|
|
map< string, string > & |
mapHeadersRet, |
|
|
string & |
strMessageRet, |
|
|
int |
nProto |
|
) |
| |
bool ReadHTTPRequestLine |
( |
std::basic_istream< char > & |
stream, |
|
|
int & |
proto, |
|
|
string & |
http_method, |
|
|
string & |
http_uri |
|
) |
| |
int ReadHTTPStatus |
( |
std::basic_istream< char > & |
stream, |
|
|
int & |
proto |
|
) |
| |