wangle

Wangle is a framework providing a set of common client/server abstractions for building services in a consistent, modular, and composable way.

Github stars Tracking Chart

Travis Build Status
CI Status

Building and Installing

The main dependencies are:

Once folly is installed, run the following inside the wangle directory to build, test, and install wangle:

cmake .
make
ctest
sudo make install

Tutorial

There is a tutorial here that explains the basics of Wangle and shows how to build an echo server/client.

Examples

See the examples/ directory for some example Wangle servers and clients

License

Wangle is Apache 2.0-licensed.

Contributing

See the CONTRIBUTING file for how to help out.

Documentation

// close the pipeline when finished
pipeline->close();PipelineSend your socket data through a series of tubesA Pipeline is a series of Handlers that intercept inbound or outbound events, giving full control over how events are handled. Handlers can be added dynamically to the pipeline.

void read(Context* ctx, folly::IOBufQueue& q) override {
IOBufQueue data;
if (q.chainLength() >= 4) {
data.append(q.split(4));
ctx->fireRead(data);
}
}
};

Main metrics

Overview
Name With Ownerfacebook/wangle
Primary LanguageC++
Program languageC++ (Language Count: 6)
Platform
License:Apache License 2.0
所有者活动
Created At2014-12-12 04:12:30
Pushed At2025-11-05 01:46:46
Last Commit At
Release Count472
Last Release Namev2025.11.03.00 (Posted on )
First Release Namev0.2.0 (Posted on )
用户参与
Stargazers Count3.1k
Watchers Count158
Fork Count548
Commits Count7.1k
Has Issues Enabled
Issues Count148
Issue Open Count34
Pull Requests Count7
Pull Requests Open Count12
Pull Requests Close Count68
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private