marko.333
Explore posts from serversCDCloudflare Developers
•Created by marko.333 on 9/8/2024 in #workers-help
Best practice for local development with multiple workers using RPC bindings?
Hello.
I'm having a hard time trying to test multiple Workers locally that collaborate using RPC bindings (and Queues, Durable Objects, etc...)?
Can i use wrangler, or do i need to use miniflare? Or am i forced to deploy remotely?
Is there any doc or good examples that detail how to accomplish this?
Thank you.
2 replies
CDCloudflare Developers
•Created by marko.333 on 9/7/2024 in #workers-help
Can an external http client make an RPC call to a Worker?
I would like to externally make RPC calls to Workers (mostly for testing) using something like Postman or curl.
I'm hoping some general gateway like this exists...
My current hack is to implement a wrapper Worker http endpoint for each RPC call. It works, but it at takes time, and it feels ugly/redundant?
Any suggestions? Thx.
3 replies