Skip to content

Commit cc67c77

Browse files
docs(readme): fix http client proxies example (#82)
1 parent e35a0d8 commit cc67c77

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -290,18 +290,19 @@ can also get all the extra fields on the Pydantic model as a dict with
290290

291291
You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
292292

293-
- Support for proxies
294-
- Custom transports
293+
- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
294+
- Custom [transports](https://www.python-httpx.org/advanced/transports/)
295295
- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
296296

297297
```python
298+
import httpx
298299
from browserbase import Browserbase, DefaultHttpxClient
299300

300301
client = Browserbase(
301302
# Or use the `BROWSERBASE_BASE_URL` env var
302303
base_url="http://my.test.server.example.com:8083",
303304
http_client=DefaultHttpxClient(
304-
proxies="http://my.test.proxy.example.com",
305+
proxy="http://my.test.proxy.example.com",
305306
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
306307
),
307308
)

0 commit comments

Comments
 (0)