Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add session arguments to Connection #56

Merged
merged 1 commit into from
May 17, 2021
Merged

Add session arguments to Connection #56

merged 1 commit into from
May 17, 2021

Conversation

lgrahl
Copy link
Contributor

@lgrahl lgrahl commented May 17, 2021

This allows to add arbitrary arguments to each get and post call. It can be used to add proxy arguments:

Connection(session_kwargs={'proxy': <your-proxy>})

See the aiohttp docs for details:
https://docs.aiohttp.org/en/stable/client_advanced.html#proxy-support

Supersedes and closes #49

This allows to add arbitrary arguments to each `get` and `post` call. It
can be used to add proxy arguments:

    Connection(session_kwargs={'proxy': <your-proxy>})

See the aiohttp docs for details:
https://docs.aiohttp.org/en/stable/client_advanced.html#proxy-support

Supersedes and closes #49
@lgrahl lgrahl merged commit 7c7a325 into master May 17, 2021
@lgrahl lgrahl deleted the custom-session-args branch May 17, 2021 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant