Proxygen alternatives and similar libraries
Based on the "Networking" category.
Alternatively, view Proxygen alternatives based on common mentions on social networks and blogs.
9.8 9.9 L2 Proxygen VS libcurlA command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP. libcurl offers a myriad of powerful features
9.5 7.2 Proxygen VS uWebSocketsSimple, secure & standards compliant web server for the most demanding of applications
9.2 9.5 Proxygen VS C++ WorkflowC++ Parallel Computing and Asynchronous Networking Engine
9.1 2.5 L1 Proxygen VS C++ REST SDKThe C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
9.0 9.6 L2 Proxygen VS POCOThe POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
8.3 0.0 Proxygen VS RakNetRakNet is a cross platform, open source, C++ networking engine for game programmers.
8.1 0.0 Proxygen VS evppA modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols.
HTTP and WebSocket built on Boost.Asio in C++11
7.6 4.2 Proxygen VS wdtWarp speed Data Transfer (WDT) is an embeddedable library (and command line tool) aiming to transfer data between 2 systems as fast as possible over multiple TCP paths.
7.1 0.0 L2 Proxygen VS cpp-netlibThe C++ Network Library Project -- cross-platform, standards compliant networking library.
7.1 9.0 Proxygen VS PcapPlusPlusPcapPlusPlus is a multiplatform C++ library for capturing, parsing and crafting of network packets. It is designed to be efficient, powerful and easy to use. It provides C++ wrappers for the most popular packet processing engines such as libpcap, WinPcap, DPDK and PF_RING.
6.9 3.1 L4 Proxygen VS RestbedCorvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.
5.9 8.2 Proxygen VS dotenv-linter⚡️Lightning-fast linter for .env files. Written in Rust 🦀
5.7 0.0 L4 Proxygen VS Simple-WebSocket-ServerA very simple, fast, multithreaded, platform independent WebSocket (WS) and WebSocket Secure (WSS) server and client library implemented using C++11, Boost.Asio and OpenSSL. Created to be an easy way to make WebSocket endpoints in C++.
5.1 5.8 Proxygen VS RESTinioCross-platform, efficient, customizable, and robust asynchronous HTTP/WebSocket server C++14 library with the right balance between performance and ease of use
4.8 0.0 L1 Proxygen VS nope.cWAFer is a C language-based software platform for scalable server-side and networking applications. Think node.js for C programmers.
4.7 0.0 L3 Proxygen VS net_skeletonAsync non-blocking multi-protocol networking library for C/C++
4.2 9.9 Proxygen VS D++C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
3.9 7.5 Proxygen VS IXWebSocketwebsocket and http client and server library, with TLS support and very few dependencies
1.5 5.9 Proxygen VS NetIFHeader-only C++14 library for getting addresses associated with network interfaces without name lookups on Windows, macOS, Linux, and FreeBSD
1.4 7.6 Proxygen VS Barracuda App ServerEmbedded Web Server Library with Integrated Scripting Engine
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Proxygen or a related project?
Proxygen: Facebook's C++ HTTP Libraries
This project comprises the core C++ HTTP abstractions used at Facebook. Internally, it is used as the basis for building many HTTP servers, proxies, and clients. This release focuses on the common HTTP abstractions and our simple HTTPServer framework. Future releases will provide simple client APIs as well. The framework supports HTTP/1.1, SPDY/3, SPDY/3.1, HTTP/2, and HTTP/3. The goal is to provide a simple, performant, and modern C++ HTTP library.
We have a Google group for general discussions at https://groups.google.com/d/forum/facebook-proxygen.
The original blog post also has more background on the project.
Learn More in This Intro Video
Note that currently this project has been tested on Ubuntu 18.04 and Mac OSX although it likely works on many other platforms.
You will need at least 3 GiB of memory to compile
proxygen and its
./build.sh from the
proxygen/ directory to get and build all
the dependencies and
proxygen. You can run the tests manually with
cd _build/ && make test.
./install.sh to install it. You can remove the temporary build directory (
./build.sh && ./install.sh
to rebase the dependencies, and then rebuild and reinstall
If you are running on another platform, you may need to install several
packages first. Proxygen and
folly are all Autotools based projects.
Directory structure and contents:
||Contains non-installed 3rd-party code proxygen depends on.|
||Core networking abstractions.|
||HTTP specific code. (including HTTP/2 and HTTP/3)|
||Connection management and server code.|
||Miscellaneous helper code.|
||Contains code wrapping
The central abstractions to understand in
proxygen/lib are the session, codec,
transaction, and handler. These are the lowest level abstractions, and we
don't generally recommend building off of these directly.
When bytes are read off the wire, the
HTTPCodec stored inside
HTTPSession parses these into higher-level objects and associates with
it a transaction identifier. The codec then calls into
is responsible for maintaining the mapping between transaction identifier
HTTPTransaction objects. Each HTTP request/response pair has a
HTTPTransaction object. Finally,
HTTPTransaction forwards the
call to a handler object which implements
HTTPTransaction:: Handler. The
handler is responsible for implementing business logic for the request or
The handler then calls back into the transaction to generate egress (whether the egress is a request or response). The call flows from the transaction back to the session, which uses the codec to convert the higher-level semantics of the particular call into the appropriate bytes to send on the wire.
The same handler and transaction interfaces are used to both create requests
and handle responses. The API is generic enough to allow
HTTPSession is specialized slightly differently depending on
whether you are using the connection to issue or respond to HTTP
[Core Proxygen Architecture](CoreProxygenArchitecture.png)
Moving into higher levels of abstraction,
proxygen/HTTP server has a
simpler set of APIs and is the recommended way to interface with
when acting as a server if you don't need the full control of the lower
The basic components here are
HTTPServer takes some configuration and is given a
RequestHandlerFactory. Once the server is started, the installed
RequestHandlerFactory spawns a
RequestHandler for each HTTP
RequestHandler is a simple interface users of the library
implement. Subclasses of
RequestHandler should use the inherited
ResponseHandler* downstream_ to send the response.
Proxygen is a library. After installing it, you can build your C++
cd ing to the directory containing the echo server at
After building proxygen you can start the echo server with
and verify it works using curl in a different terminal:
$ curl -v http://localhost:11000/ * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 11000 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.35.0 > Host: localhost:11000 > Accept: */* > < HTTP/1.1 200 OK < Request-Number: 1 < Date: Thu, 30 Oct 2014 17:07:36 GMT < Connection: keep-alive < Content-Length: 0 < * Connection #0 to host localhost left intact
You can find other samples:
- a simple server that supports HTTP/2 server push (
- a simple server for static files (
- a simple fwdproxy (
- a curl-like client (
QUIC and HTTP/3
Proxygen supports HTTP/3!
It depends on Facebook's mvfst
library for the IETF QUIC transport
implementation, so we have made that dependency optional. You can build the
HTTP/3 code, tests and sample binaries with
This will also build a handy command-line utility that can be used as an HTTP/3 server and client.
_build/proxygen/httpserver/hq --mode=server _build/proxygen/httpserver/hq --mode=client --path=/
The utility supports the qlog
logging format; just start the server with the
--qlogger_path option and many
knobs to tune both the quic transport and the http layer.
We use Doxygen for Proxygen's internal documentation. You can generate a
copy of these docs by running
doxygen Doxyfile from the project
root. You'll want to look at
html/namespaceproxygen.html to start. This
will also generate
Contributions to Proxygen are more than welcome. [Read the guidelines in CONTRIBUTING.md](CONTRIBUTING.md). Make sure you've signed the CLA before sending in a pull request.
Facebook has a bounty program for the safe disclosure of security bugs. If you find a vulnerability, please go through the process outlined on that page and do not file a public issue.
*Note that all licence references and agreements mentioned in the Proxygen README section above are relevant to that project's source code only.