Move AcceptedConnection class to rpcserver.h.

Also, add parens to HTTPReply() to assist readability.
This commit is contained in:
Jeff Garzik
2014-06-27 00:10:53 -04:00
parent 854d013012
commit ed5769f536
3 changed files with 12 additions and 12 deletions

View File

@@ -71,16 +71,6 @@ enum RPCErrorCode
RPC_WALLET_ALREADY_UNLOCKED = -17, // Wallet is already unlocked
};
class AcceptedConnection
{
public:
virtual ~AcceptedConnection() {}
virtual std::iostream& stream() = 0;
virtual std::string peer_address_to_string() const = 0;
virtual void close() = 0;
};
//
// IOStream device that speaks SSL but can also speak non-SSL
//