Skip to content

Commit 60df382

Browse files
authored
Clarify README wrt ephemeral port in embedded mode
If we don't set port=0, the default port 8899 is used. So I propose to clarify the documentation.
1 parent 3b9964b commit 60df382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ In embedded mode, you can access this port. Example:
17251725
import proxy
17261726

17271727
if __name__ == '__main__':
1728-
with proxy.Proxy() as p:
1728+
with proxy.Proxy(port=0) as p:
17291729
print(p.flags.port)
17301730
proxy.sleep_loop()
17311731
```

0 commit comments

Comments
 (0)