Skip to content

RpcMethod deprecation? #335

@02Wass

Description

@02Wass

Hey, I'm running a very old project in which I'm trynig to migrate to libjson 1.4.1, however, I'm not able to find what was changed, we want to use RpcMethod in this way
new RpcMethod<CertificateAuthority, GUIClientPtr>( 29 ca_service, 30 &CertificateAuthority::RevokeCert, 31 std::string("revokecert"), 32 CertificateAuthority().GetRevokeDescription()));
but as I can't import the header, from what earlier was inside of jsonrpc-cpp/src/jsonrpc_handler.h as
109 RpcMethod(T& obj, Method method, const std::string& name, 110 const Json::Value description = Json::Value::null) 111 { 112 m_obj = &obj; 113 m_name = name; 114 m_method = method; 115 m_description = description; 116 }
I'm not sure where I can find this now and it is not stated in the changelog from what I can see
https://github.com/cinemast/libjson-rpc-cpp/blob/master/CHANGELOG.md

Also tried

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions