Capnwebcpp – a small Cap'n Web C++ server library

2 hours ago 2

Cap'n Web C++ Server Library. This small library allows the user to create server implementations for the Cap'n Web RPC protocol, in delightful C++.

The library does not offer many conveniences - it only supplies the minimal plumbing required for getting messages flying between the RPC client and server.

Pre-alpha - hacked together in a couple of hours. Next steps are to verify protocol correctness and to clean up the messy implementation.

Building the library has only been tested on MSVC 2022, so far.

git clone https://github.com/nnevatie/capnwebcpp.git cd capnwebcpp mkdir build cd build cmake -G Ninja .. ninja
examples\helloworld\helloworld ..

Open a helloworld client in a browser.

examples\batch-pipelining\batch-pipelining ..

Open a batch-pipelining in a browser.

Read Entire Article