Skip to content

Commit ca15591

Browse files
docs(readme): fix http client proxies example (#82)
1 parent 0c61d7b commit ca15591

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
@@ -276,18 +276,19 @@ can also get all the extra fields on the Pydantic model as a dict with
276276

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

279-
- Support for proxies
280-
- Custom transports
279+
- Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
280+
- Custom [transports](https://www.python-httpx.org/advanced/transports/)
281281
- Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
282282

283283
```python
284+
import httpx
284285
from browserbase import Browserbase, DefaultHttpxClient
285286

286287
client = Browserbase(
287288
# Or use the `BROWSERBASE_BASE_URL` env var
288289
base_url="http://my.test.server.example.com:8083",
289290
http_client=DefaultHttpxClient(
290-
proxies="http://my.test.proxy.example.com",
291+
proxy="http://my.test.proxy.example.com",
291292
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
292293
),
293294
)

0 commit comments

Comments
 (0)