]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Fix out-of-date methods on Response API docs (#673)
authorFlorimond Manca <florimond.manca@gmail.com>
Sat, 21 Dec 2019 16:21:14 +0000 (17:21 +0100)
committerGitHub <noreply@github.com>
Sat, 21 Dec 2019 16:21:14 +0000 (17:21 +0100)
docs/api.md

index 2dff987f74e3a696a60e67b563b106983355914a..7762c05947a168c7c0e59be7f8f7e91ecfd99377 100644 (file)
 * `def .raise_for_status()` - **None**
 * `def .json()` - **Any**
 * `def .read()` - **bytes**
-* `def .stream_raw()` - **async bytes iterator**
-* `def .stream_bytes()` - **async bytes iterator**
-* `def .stream_text()` - **async text iterator**
-* `def .stream_lines()` - **async text iterator**
+* `def .aiter_raw()` - **async bytes iterator**
+* `def .aiter_bytes()` - **async bytes iterator**
+* `def .aiter_text()` - **async text iterator**
+* `def .aiter_lines()` - **async text iterator**
 * `def .close()` - **None**
 * `def .next()` - **Response**