【文件属性】:
文件名称:packio:基于Boost.Asio构建的异步msgpack-RPC和JSON-RPC库
文件大小:113KB
文件格式:ZIP
更新时间:2021-02-16 04:26:53
json async asynchronous boost coroutines
仅标头| JSON-RPC | msgpack-RPC | asio | 协程
该库需要C ++ 17,并且被设计为boost.asio的扩展。 它将允许您为JSON-RPC或msgpack-RPC构建异步服务器或客户端。
该项目托管在,可在。 文档可在上。
概述
# include < iostream>
# include < packio>
using packio::arg;
using packio::nl_json_rpc::completion_handler;
using packio::nl_json_rpc::make_client;
using packio::nl_json_rpc::make_server;
using packio::nl_json_rpc::rpc;
int main ( int , char **)
{
usi
【文件预览】:
packio-master
----.clang-format(2KB)
----.gitignore(93B)
----LICENSE.md(15KB)
----test_package()
--------conanfile.py(2KB)
--------samples()
--------certs()
--------tests()
--------CMakeLists.txt(3KB)
----conanfile.py(2KB)
----Doxyfile(105KB)
----.github()
--------workflows()
--------build.py(7KB)
--------boost.py(501B)
----README.md(7KB)
----include()
--------packio()
----docs()
--------sources()