Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed Feb 20, 2025
1 parent 6c6f994 commit 50bcb73
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ An asynchronous Python HTTP client with Black Magic, powered by FFI from [rquest
- Redirect Policy
- Cookie Store
- HTTP Proxies
- Async DNS Resolver
- WebSocket Upgrade
- HTTPS via BoringSSL
- Perfectly Chrome, Safari, and Firefox

## Example

Expand Down
6 changes: 1 addition & 5 deletions examples/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@


async def main():
client = Client(
impersonate=Impersonate.Firefox133,
user_agent="rnet",
async_dns=True,
)
client = Client(impersonate=Impersonate.Firefox133, user_agent="rnet")
resp = await client.get("https://httpbin.org/stream/20")
print("Status Code: ", resp.status_code)
print("Version: ", resp.version)
Expand Down
1 change: 0 additions & 1 deletion rnet.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ class ClientParams:
headers_order: typing.Optional[builtins.list[builtins.str]]
referer: typing.Optional[builtins.bool]
cookie_store: typing.Optional[builtins.bool]
async_dns: typing.Optional[builtins.bool]
timeout: typing.Optional[builtins.int]
connect_timeout: typing.Optional[builtins.int]
read_timeout: typing.Optional[builtins.int]
Expand Down

0 comments on commit 50bcb73

Please sign in to comment.