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

Switch to httpx for HTTP2 support #191

Open
marcelveldt opened this issue Feb 28, 2023 · 2 comments
Open

Switch to httpx for HTTP2 support #191

marcelveldt opened this issue Feb 28, 2023 · 2 comments
Assignees
Labels
new-feature New feature or request

Comments

@marcelveldt
Copy link
Collaborator

We should use HTTP/2 to connect to the Hue bridge:

  • Evenstream has keepalive builtin so we can remove the workaround
  • No more request throttling needed

aiohttp however does not yet support http2 so we should move to httpx

@marcelveldt marcelveldt added the new-feature New feature or request label Feb 28, 2023
@marcelveldt marcelveldt self-assigned this Feb 28, 2023
@marcelveldt
Copy link
Collaborator Author

No more need for workaround to detect if the connection is still alive if we switch to HTTP2

Scherm­afbeelding 2023-09-25 om 12 19 10

@marcelveldt
Copy link
Collaborator Author

Scherm­afbeelding 2023-09-25 om 12 20 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant