test post

leprechaun(65)
Published in
Test
Words
115
Reading
1 min
Listen
Play
5y

Testing from ProofofBrain.blog with code C++ include statements:

#include
#include <fc/array.hpp>
#include <fc/string.hpp>
#include <boost/algorithm/string.hpp>
#include <hive/utilities/key_conversion.hpp>
#include <hive/protocol/operations.hpp>
#include <hive/protocol/transaction.hpp>

int main() {
}

Testing structure declarations:

namespace fc { namespace rpc {

class websocket_api_connection : public api_connection
{
public:
websocket_api_connection( fc::http::websocket_connection& c );
~websocket_api_connection();

     virtual variant send_call(
        api_id_type api_id,
        string method_name,
        variants args = variants() ) override;
     virtual variant send_call(
        string api_name,
        string method_name,
        variants args = variants() ) override;
     virtual variant send_callback(
        uint64_t callback_id,
        variants args = variants() ) override;
     virtual void send_notice(
        uint64_t callback_id,
        variants args = variants() ) override;

  protected:
     std::string on_message(
        const std::string& message,
        bool send_message = true );

     fc::http::websocket_connection&  _connection;
     fc::rpc::state                   _rpc_state;

};

} } // namespace fc::rpc

Not all code used is original.

test post | Ecency