PACE documentation
简体中文 · Project
PACE is a C++20 coroutine networking library: a runtime of reactors and tasks, TCP and UDP, TLS, DNS, QUIC,
HTTP/1.1, HTTP/2, HTTP/3 and WebSocket. The documentation is organized by what you want to do.
I want to…
Start here
…get something running in five minutes
Install and write a first program , then an HTTP client
…learn PACE properly
The tutorial , in order: HTTP, tasks, TCP, UDP, structured concurrency, workers, shutdown, then each protocol
…solve a specific problem
The guides : HTTP configuration, protocol tuning
…look up a type or a function
The reference , one section per module
…understand how it works and why
The explanation : architecture, execution model, ownership, API design
…see how fast it is
Performance , with methods and raw data
…upgrade from an earlier version
Migration
…contribute
Contributing : building, testing, style, documentation
Modules
Module
Header
Reference
Tutorial
Runtime
<pace/runtime.hpp>
runtime
tasks and timers , structured concurrency , workers , shutdown
Networking
<pace/net.hpp>
TCP and UDP
TCP , UDP
TLS, DNS
<pace/tls.hpp>, <pace/dns.hpp>
TLS , DNS
TLS and DNS
QUIC
<pace/quic.hpp>
QUIC
QUIC and HTTP/3
HTTP
<pace/http.hpp>
HTTP
client , server
HTTP/1.1, HTTP/2, HTTP/3
<pace/http1.hpp>, <pace/http2.hpp>, <pace/http3.hpp>
HTTP/1.1 , HTTP/2 , HTTP/3
HTTP/2 , HTTP/3
WebSocket
<pace/websocket.hpp>
WebSocket
WebSocket
Gateway
<pace/gateway.hpp>
gateway
files and proxies
Build options · Platform support ·
Errors