Expand description
Server side of the edge’s CloudflaredServer calls.
Server side of the connector’s CloudflaredServer interface.
The edge opens a dedicated RPC stream (prefixed with the RPC protocol
signature) and calls the connector’s main interface: updateConfiguration
pushes the remotely-managed tunnel configuration (its ingress rules and
therefore its public hostnames), while the UDP session methods manage
QUIC datagram sessions, which libcfd does not support.
Structs§
- Register
UdpSession Response - The connector’s reply to
registerUdpSession. - Update
Configuration Response - The connector’s reply to
updateConfiguration.
Constants§
- CLOUDFLARED_
SERVER_ INTERFACE_ ID - The 64-bit interface id of the connector’s
CloudflaredServer. - CONFIGURATION_
MANAGER_ INTERFACE_ ID - The 64-bit interface id of
ConfigurationManager; the edge addressesupdateConfigurationby this id. - SESSION_
MANAGER_ INTERFACE_ ID - The 64-bit interface id of
SessionManager(extended byCloudflaredServer); capnp-go addresses its methods by this id.
Traits§
- Cloudflared
Handler - Handlers for the RPC calls the edge makes on the connector.
Functions§
- serve_
cloudflared - Serves the edge’s calls on an RPC stream until the stream ends.