Fix Client Docstring and add AsyncClient to API docs (#883)
* Fix docstring of Client * Add AsyncClient to API docs * Add AsyncClient to ToC Co-Authored-By: Florimond Manca <florimond.manca@gmail.com> Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
This commit is contained in:
parent
939f3ce7ce
commit
fc980e7792
@ -38,6 +38,13 @@
|
||||
:docstring:
|
||||
:members: headers cookies params request get head options post put patch delete build_request send close
|
||||
|
||||
## `AsyncClient`
|
||||
|
||||
::: httpx.AsyncClient
|
||||
:docstring:
|
||||
:members: headers cookies params request get head options post put patch delete build_request send
|
||||
|
||||
|
||||
## `Response`
|
||||
|
||||
*An HTTP response.*
|
||||
|
||||
@ -426,7 +426,7 @@ class Client(BaseClient):
|
||||
request URLs.
|
||||
* **dispatch** - *(optional)* A dispatch class to use for sending requests
|
||||
over the network.
|
||||
* **app** - *(optional)* An ASGI application to send requests to,
|
||||
* **app** - *(optional)* An WSGI application to send requests to,
|
||||
rather than sending actual network requests.
|
||||
* **trust_env** - *(optional)* Enables or disables usage of environment
|
||||
variables for configuration.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user