Tinyrpc
A very simple rpc framework for C++
Install / Use
/learn @guoqi/TinyrpcREADME
TinyRPC - a simple rpc framework for C++
Blueprint
- Construct a simple generic network library
- Support simple remote procedure call (RPC) as call a local procedure
- Simple and easy to use and manage
- Support self-defined IDL
- Support service register and service dicovery
Example
$ cd example && mkdir build && cd buid
$ cmake ..
$ make
Dependences
Building
$ mkdir build && cd build
$ cmake ..
$ make
After that, there will be a static library named librpcsvr.a and librpccli.a
in folder build and you could link yourself server code with it to get an executable file,
which is the final rpc server composed of multiple servers and services.
Usage
See also example/rpcsvr
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
