Forward a client Request (e.g. a verified WebSocket upgrade) to a thread DO,
with the principal header overwritten from the authenticated context. Same
validation 404 as send. Use this instead of stub.fetch(request).
Send an authenticated request to a thread DO. path is the DO-side route
(e.g. /messages). Throws RunRouteError(404) when threadId is malformed,
before the DO is addressed.
Forward a client Request (e.g. a verified WebSocket upgrade) to a thread DO, with the principal header overwritten from the authenticated context. Same validation 404 as
send. Use this instead ofstub.fetch(request).