To answer my own question for others

To answer my own question for others: - yes, a Worker requesting a socket response from a DO must follow the same protocol as an end client/original request, including a GET method, and "upgrade" header. Omit either of those, and you'll throw/crash. - itty-durable is being modified (transparently) to handle all that in a seamless manner.
1 Reply
Kevin
KevinOP2y ago
Kevin R. Whitley 🏴‍☠️ (@kevinrwhitley)
So the magic of itty-durable is expanding to support socket connections to a @cloudflaredev Durable Object. Here's a super rough demo of it in action, connecting via: SvelteKit -- Worker -- DO
Twitter
Want results from more Discord servers?
Add your server