---
description: Supported protocols on the Workers platform.
title: Protocols
image: https://developers.cloudflare.com/og-docs.png
---

[Skip to content](#main-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.

# Protocols

Last updated Aug 24, 2026|Copy as Markdown| [View as Markdown](https://0f4bf0fb.previews.developers.cloudflare.com/workers/reference/protocols/index.md)| [Agent setup](https://0f4bf0fb.previews.developers.cloudflare.com/agent-setup/)

Cloudflare Workers support the following protocols and interfaces:

| Protocol | Inbound | Outbound |
| --- | --- | --- |
| **HTTP / HTTPS** | Handle incoming HTTP requests using the [`fetch()` handler](https://0f4bf0fb.previews.developers.cloudflare.com/workers/runtime-apis/handlers/fetch/) | Make HTTP subrequests using the [`fetch()` API](https://0f4bf0fb.previews.developers.cloudflare.com/workers/runtime-apis/fetch/) |
| **Direct TCP sockets** | Support for handling inbound TCP connections is [coming soon ↗](https://blog.cloudflare.com/workers-tcp-socket-api-connect-databases/) | Create outbound TCP connections using the [`connect()` API](https://0f4bf0fb.previews.developers.cloudflare.com/workers/runtime-apis/tcp-sockets/) |
| **WebSockets** | Accept incoming WebSocket connections using the [`WebSocket` API](https://0f4bf0fb.previews.developers.cloudflare.com/workers/runtime-apis/websockets/) | |
| **HTTP/3 (QUIC)** | Accept inbound requests over [HTTP/3 ↗](https://www.cloudflare.com/learning/performance/what-is-http3/) by enabling it on your [zone](https://0f4bf0fb.previews.developers.cloudflare.com/fundamentals/concepts/accounts-and-zones/#zones) in **Speed** > **Settings** > **Protocol Optimization** area of the [Cloudflare dashboard ↗](https://dash.cloudflare.com/). | |
| **SMTP** | Use [Email Workers](https://0f4bf0fb.previews.developers.cloudflare.com/email-service/api/route-emails/email-handler/) to process and forward email, without having to manage TCP connections to SMTP email servers | [Email Workers](https://0f4bf0fb.previews.developers.cloudflare.com/email-service/api/route-emails/email-handler/) |

Was this helpful?

YesNo

## On this page

[![](https://0f4bf0fb.previews.developers.cloudflare.com/_astro/logo.te5VL_aD.svg)Docs](https://0f4bf0fb.previews.developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/workers/reference/protocols/#page","headline":"Protocols · Cloudflare Workers docs","description":"Supported protocols on the Workers platform.","url":"https://developers.cloudflare.com/workers/reference/protocols/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","dateModified":"2026-08-24","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
