Skip to content

Protocols

Last updated View as MarkdownAgent setup

Cloudflare Workers support the following protocols and interfaces:

Protocol Inbound Outbound
HTTP / HTTPS Handle incoming HTTP requests using the fetch() handler Make HTTP subrequests using the fetch() API
Direct TCP sockets Support for handling inbound TCP connections is coming soon ↗︎ Create outbound TCP connections using the connect() API
WebSockets Accept incoming WebSocket connections using the WebSocket API
HTTP/3 (QUIC) Accept inbound requests over HTTP/3 ↗︎ by enabling it on your zone in Speed > Settings > Protocol Optimization area of the Cloudflare dashboard ↗︎.
SMTP Use Email Workers to process and forward email, without having to manage TCP connections to SMTP email servers Email Workers

Was this helpful?