wangle

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

Github星跟蹤圖

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);
}
}
};

主要指標

概覽
名稱與所有者facebook/wangle
主編程語言C++
編程語言C++ (語言數: 6)
平台
許可證Apache License 2.0
所有者活动
創建於2014-12-12 04:12:30
推送於2025-11-05 01:46:46
最后一次提交
發布數472
最新版本名稱v2025.11.03.00 (發布於 )
第一版名稱v0.2.0 (發布於 )
用户参与
星數3.1k
關注者數158
派生數548
提交數7.1k
已啟用問題?
問題數148
打開的問題數34
拉請求數7
打開的拉請求數12
關閉的拉請求數68
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?