Changeset View
Changeset View
Standalone View
Standalone View
src/httprpc.h
// Copyright (c) 2015 The Bitcoin Core developers | // Copyright (c) 2015 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_HTTPRPC_H | #ifndef BITCOIN_HTTPRPC_H | ||||
#define BITCOIN_HTTPRPC_H | #define BITCOIN_HTTPRPC_H | ||||
#include <httpserver.h> | #include <httpserver.h> | ||||
#include <rpc/server.h> | #include <rpc/server.h> | ||||
#include <map> | #include <map> | ||||
#include <string> | #include <string> | ||||
class Config; | class Config; | ||||
class HTTPRequest; | |||||
class HTTPRPCRequestProcessor { | class HTTPRPCRequestProcessor { | ||||
private: | private: | ||||
Config &config; | Config &config; | ||||
RPCServer &rpcServer; | RPCServer &rpcServer; | ||||
bool ProcessHTTPRequest(HTTPRequest *request); | bool ProcessHTTPRequest(HTTPRequest *request); | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |