Skip to content

Commit

Permalink
Clarify README wrt ephemeral port in embedded mode
Browse files Browse the repository at this point in the history
If we don't set port=0, the default port 8899 is used. So I propose to clarify the documentation.
  • Loading branch information
sbidoul authored Feb 23, 2025
1 parent 3b9964b commit 60df382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,7 @@ In embedded mode, you can access this port. Example:
import proxy

if __name__ == '__main__':
with proxy.Proxy() as p:
with proxy.Proxy(port=0) as p:
print(p.flags.port)
proxy.sleep_loop()
```
Expand Down

0 comments on commit 60df382

Please sign in to comment.