From 60df382d54ffb1830a3a9b47c0c12e537a1cf4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 23 Feb 2025 12:30:21 +0100 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 138733e3bc..88f9de2770 100644 --- a/README.md +++ b/README.md @@ -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() ```