Registry / networking / rpclib

rpclib

JSON →
library2.3.0vcpkgunverified

a RPC library for C++, providing both a client and server implementation. It is built using modern C++14.

vcpkg install rpclib
INSTALL
IMPORT
SIG · RPCLIB
R
rpclib
networkingcppv2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rpc/rpc.h
✓ #include <rpc/rpc.h>

Simple RPC server and client example

#include <rpc/rpc.h> #include <iostream> int main() { rpc::server srv(8080); srv.bind("add", [](int a, int b) { return a + b; }); srv.async_run(); rpc::client cli("127.0.0.1", 8080); auto result = cli.call("add", 2, 3).as<int>(); std::cout << "2 + 3 = " << result << "\n"; return 0; }
Debug
Known issues
gotcharpclib requires C++14 or later
fix
Set CMAKE_CXX_STANDARD to 14 or higher
affects: all
Upgrade
Version history
2.3.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
OpenAI (training)
1
Resources

No resource links recorded.

rpclib — pip install rpclib · libregistry