cloudflare · Cloudflare Workers Docs
Workers tls
Implementation guide for using the Node.js tls module within Cloudflare Workers to establish secure TLS connections to external services, including the required compatibility flag configuration.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers tls
Implementation guide for using the Node.js tls module within Cloudflare Workers to establish secure TLS connections to external services, including the required compatibility flag configuration.
When To Use
Use when you need to establish secure TLS connections to external services from a Cloudflare Worker using the Node.js tls module APIs.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-runtime-apis-nodejs-tls-workflow-guide.md | Documentation regarding the use of Node.js TLS APIs within Cloudflare Workers and the required compatibility flags. | Questions about documentation regarding the use of Node.js TLS APIs within Cloudflare Workers and the required compatibility flags. |
examples/workers-runtime-apis-nodejs-tls-cloudflare-workers-nodejs-tls-connect.text | A JavaScript code example demonstrating how to use the node:tls connect method within a Cloudflare Worker to establish a secure connection. | Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to use the node:tls connect method within a Cloudflare Worker to establis... |
What This Skill Covers
- To enable built-in Node.js APIs and polyfills, add the nodejs\compat compatibility flag to your Wrangler configuration file. This also enables nodejs\compat...
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/runtime-apis/nodejs/tls
