my do is in ./worker/durable-objects/user-do.ts would i put that as the script_name?
my do is in ./worker/durable-objects/user-do.ts
would i put that as the script_name?
would i put that as the script_name?
name in your wranglerrouteDORequest. If you use it, the DO will automatically get the headers on each request or WebSocket upgrade. You'll still have to pluck them out of the headers and stick them in storage. If you want to see how I do it, look at the source code here.