| 1 |
"""Connection tools for AsusRouter.""" |
| 2 |
|
| 3 |
from __future__ import annotations |
| 4 |
|
| 5 |
import aiohttp |
| 6 |
|
| 7 |
|
| 8 |
def get_cookie_jar() -> aiohttp.CookieJar: |
| 9 |
"""Get a cookie jar for the AsusRouter connection.""" |
| 10 |
|
| 11 |
return aiohttp.CookieJar(unsafe=True, quote_cookie=False) |