Cloudflare DevelopersCD
Cloudflare Developers3y ago
3 replies
bkyerv

I'm working with Cloudflare Workers and

I'm working with Cloudflare Workers and Durable Objects (DO) and have a question about handling request forwarding. Specifically, I'm trying to understand the best way to forward request configurations such as the HTTP method, headers, and other details to a DO worker.

Is there a specific API or method in Cloudflare Workers for directly forwarding these request configurations to a DO? Or do I need to manually extract these details from the incoming request, create a new request object with these values, and then pass this object to the DO?
Was this page helpful?