Skip to content

Commit a061d4e

Browse files
add experimental remoteBindings option to getPlatformProxy docs
1 parent ed1b99b commit a061d4e

File tree

1 file changed

+6
-0
lines changed
  • src/content/docs/workers/wrangler

1 file changed

+6
-0
lines changed

src/content/docs/workers/wrangler/api.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,12 @@ const platform = await getPlatformProxy(options);
300300

301301
**Note:** If you use `wrangler`'s `--persist-to` option, note that this option adds a subdirectory called `v3` under the hood while `getPlatformProxy`'s `persist` does not. For example, if you run `wrangler dev --persist-to ./my-directory`, to reuse the same location using `getPlatformProxy`, you will have to specify: `persist: { path: "./my-directory/v3" }`.
302302

303+
- `experimental` `{ remoteBindings: boolean }`
304+
305+
Object used to enable experimental features, no guarantees are made to the stability of this API, use at your own risk.
306+
307+
- `remoteBindings` Enables `getPlatformProxy` to connect to [remote bindings](/workers/development-testing/#remote-bindings).
308+
303309
### Return Type
304310

305311
`getPlatformProxy()` returns a `Promise` resolving to an object containing the following fields.

0 commit comments

Comments
 (0)