You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/durable-objects/get-started.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ export class MyDurableObject extends DurableObject {
83
83
84
84
</TabItem> </Tabs>
85
85
86
-
Workers communicate with a Durable Object using [remote-procedure call](/workers/runtime-apis/rpc/#_top). Public methods on a Durable Object class are exposed as [RPC methods](/durable-objects/best-practices/create-durable-object-stubs-and-send-requests/) to be called by another Worker.
86
+
Workers communicate with a Durable Object using [remote-procedure call](/workers/runtime-apis/rpc/#_top). Public methods on a Durable Object class are exposed as [RPC methods](/durable-objects/features/create-durable-object-stubs-and-send-requests/) to be called by another Worker.
87
87
88
88
Your file should now look like:
89
89
@@ -137,7 +137,7 @@ Durable Objects do not receive requests directly from the Internet. Durable Obje
137
137
This is achieved by configuring a binding in the calling Worker for each Durable Object class that you would like it to be able to talk to. These bindings must be configured at upload time. Methods exposed by the binding can be used to communicate with particular Durable Objects.
138
138
:::
139
139
140
-
A Worker is used to [access Durable Objects](/durable-objects/best-practices/create-durable-object-stubs-and-send-requests/).
140
+
A Worker is used to [access Durable Objects](/durable-objects/features/create-durable-object-stubs-and-send-requests/).
141
141
142
142
To communicate with a Durable Object, the Worker's fetch handler should look like the following:
143
143
@@ -184,7 +184,7 @@ In the code above, you have:
184
184
5. Called a Durable Object by invoking a RPC method, `sayHello()`, on the Durable Object, which returns a `Hello, World!` string greeting.
185
185
6. Received an HTTP response back to the client by constructing a HTTP Response with `return new Response()`.
186
186
187
-
Refer to [Access a Durable Object from a Worker](/durable-objects/best-practices/create-durable-object-stubs-and-send-requests/) to learn more about communicating with a Durable Object.
187
+
Refer to [Access a Durable Object from a Worker](/durable-objects/features/create-durable-object-stubs-and-send-requests/) to learn more about communicating with a Durable Object.
188
188
189
189
## 4. Configure Durable Object bindings
190
190
@@ -252,6 +252,6 @@ By finishing this tutorial, you have successfully created, tested and deployed a
0 commit comments