Skip to main content

Interface: RouteDORequestHooksContext

Defined in: route-do-request.ts:38

Context passed to routing hooks (onBeforeConnect, onBeforeRequest).

Provides information about the target Durable Object so hooks can make routing decisions or enhance requests with additional context.

Properties

doInstanceNameOrId

doInstanceNameOrId: string

Defined in: route-do-request.ts:42

The instance name or unique ID from the URL path


doNamespace

doNamespace: any

Defined in: route-do-request.ts:40

The resolved DurableObjectNamespace for the binding