Protocols

Last updated Oct 13, 2026 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 Handle TCP connections forwarded from another Worker using the connect() handler. 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?

YesNo

On this page

Protocols - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/workers/reference/protocols/#page","headline":"Protocols","description":"Supported protocols on the Workers platform.","url":"https://developers.cloudflare.com/workers/reference/protocols/","inLanguage":"en","image":"https://developers.cloudflare.com/workers/reference/protocols/og.png?v=198e55cc958fd875","dateModified":"2026-10-13","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Understand the Workers security architecture, including V8 isolate sandboxing and Spectre mitigations. title: Security model image: https://developers.cloudflare.com/workers/reference/security-model/og.png?v=17ce5385060f2921


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/workers/llms.txt
Use this file to discover all available pages before exploring further.