hbldh / pybankid

BankID Relying Party client for Python
https://pybankid.readthedocs.io
MIT License
48 stars 19 forks source link

Support for async client #53

Closed tiwilliam closed 7 months ago

tiwilliam commented 1 year ago

I have a new use case in a fully asynchronous framework currently using httpx. Opening up here for discussion. Would an async API and more modular HTTP backend would be welcomed as a contribution? And if so, any design preferences for how that would work?

hbldh commented 1 year ago

Hello, yes that would be greatly appreciated. I also believe that httpx would be best suited. It is something I have put up doing for a long time...

Converting the current client to an async one would be a quite straightforward task, but it is a BankID v5.1 client, so if you are up to the task, it would be good to have it in v6 instead.