Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Does anyone know of any chat like

Does anyone know of any chat-like workers-rs example for websockets & durable objects? I'm trying to figure out the communication between different sockets and an example would help a lot 🙂 The only examples I've found are trivial echo servers

I ve noticed that a panicking Durable

I've noticed that a panicking Durable Object causes the Worker that's calling it to just hang indefinitely. I'm guessing that the DO just aborts and somehow the socket connection isn't even getting cleanly shut down or something, so the worker doesn't even know that anything is wrong until it times out. Is there a way to change this behavior?

Modifying Request Host

👋 heyo I'm trying to create a simple worker that takes a request and replaces the host. I have a basic worker running but i want it to be able to pass through the body, all the headers and anything else custom in the original request (e.g. the ip)....

So if you were me a one man team

So if you were me a one man team developing a saas that’s using cloudflare workers and durable objects. I’m building a restaurant saas and have so many different solutions i plan to offer. I’m currently building the api to serve the client react native app in typescript cf workers and durables. Should I put in the backlog that I need to rebuild that using rust in cf workers and durables? What are the drawbacks of rust being used in cf workers? What are the missing features that forced u to switc...

Feel free to take a look at an example

Feel free to take a look at an example which I wrote a few weeks ago: https://github.com/Alex1607/Workers-D1-link-shortener-demo It makes use of the alpha d1 implementation of FlareLine instead of KV but I think it might be a good starting point for you...

Running into an issue bringing wasmedge

Running into an issue bringing wasmedge_quickjs into a worker, hoping someone with more rust experience with workers can help!

anyone have this error when running

anyone have this error when running wrangler dev -vs 2022 -wrangler 2.0.28 -workers 0.0.11 ...