File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -347,18 +347,19 @@ can also get all the extra fields on the Pydantic model as a dict with
347
347
348
348
You can directly override the [ httpx client] ( https://www.python-httpx.org/api/#client ) to customize it for your use case, including:
349
349
350
- - Support for proxies
351
- - Custom transports
350
+ - Support for [ proxies] ( https://www.python-httpx.org/advanced/proxies/ )
351
+ - Custom [ transports] ( https://www.python-httpx.org/advanced/transports/ )
352
352
- Additional [ advanced] ( https://www.python-httpx.org/advanced/clients/ ) functionality
353
353
354
354
``` python
355
+ import httpx
355
356
from cloudflare import Cloudflare, DefaultHttpxClient
356
357
357
358
client = Cloudflare(
358
359
# Or use the `CLOUDFLARE_BASE_URL` env var
359
360
base_url = " http://my.test.server.example.com:8083" ,
360
361
http_client = DefaultHttpxClient(
361
- proxies = " http://my.test.proxy.example.com" ,
362
+ proxy = " http://my.test.proxy.example.com" ,
362
363
transport = httpx.HTTPTransport(local_address = " 0.0.0.0" ),
363
364
),
364
365
)
You can’t perform that action at this time.
0 commit comments