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.
- 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.
