Move AcceptedConnection class to rpcserver.h.
Also, add parens to HTTPReply() to assist readability.
This commit is contained in:
@@ -21,6 +21,16 @@
|
||||
class CBlockIndex;
|
||||
class CNetAddr;
|
||||
|
||||
class AcceptedConnection
|
||||
{
|
||||
public:
|
||||
virtual ~AcceptedConnection() {}
|
||||
|
||||
virtual std::iostream& stream() = 0;
|
||||
virtual std::string peer_address_to_string() const = 0;
|
||||
virtual void close() = 0;
|
||||
};
|
||||
|
||||
/* Start RPC threads */
|
||||
void StartRPCThreads();
|
||||
/* Alternative to StartRPCThreads for the GUI, when no server is
|
||||
|
||||
Reference in New Issue
Block a user