Skip to content

Commit 44d7f52

Browse files
update and improve maybeStartOrUpdateRemoteProxySession docs
1 parent a061d4e commit 44d7f52

File tree

1 file changed

+2
-5
lines changed
  • src/content/docs/workers/development-testing

1 file changed

+2
-5
lines changed

src/content/docs/workers/development-testing/index.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,12 +368,9 @@ the bindings in an `Unstable_Config` object into a structure that can be passed
368368
This wrapper simplifies proxy session management. It takes:
369369

370370
- The path to your Wrangler config, or an object with remote bindings.
371-
- The current proxy session details (or `null` if none).
371+
- The current proxy session details (this parameter can be set to `null` or not being provided if none).
372372

373-
It returns:
374-
375-
- `null` if no proxy session is needed.
376-
- An object with the proxy session details if started or updated.
373+
It returns an object with the proxy session details if started or updated, or `null` if no proxy session is needed.
377374

378375
The function:
379376

0 commit comments

Comments
 (0)