File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 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
347347
348348You can directly override the [ httpx client] ( https://www.python-httpx.org/api/#client ) to customize it for your use case, including:
349349
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/ )
352352- Additional [ advanced] ( https://www.python-httpx.org/advanced/clients/ ) functionality
353353
354354``` python
355+ import httpx
355356from cloudflare import Cloudflare, DefaultHttpxClient
356357
357358client = Cloudflare(
358359 # Or use the `CLOUDFLARE_BASE_URL` env var
359360 base_url = " http://my.test.server.example.com:8083" ,
360361 http_client = DefaultHttpxClient(
361- proxies = " http://my.test.proxy.example.com" ,
362+ proxy = " http://my.test.proxy.example.com" ,
362363 transport = httpx.HTTPTransport(local_address = " 0.0.0.0" ),
363364 ),
364365)
You can’t perform that action at this time.
0 commit comments