Hey there and thanks for your awesome libraries!
I was planning on reviving @florimondmanca's https://github.com/florimondmanca/httpx-unixsocket-poc. I've managed to get it working but hesitate publishing a proper package for now as it's tightly coupled with things that are now private APIs.
I understand that publishing a lot of APIs might not be in scope for httpcore but it is useful in some cases like this one. Are there any plans to...
- publish
httpcore._backends.asyncio.SocketStream and httpcore._async.connection.AsyncHTTPConnection?
- allow
AsyncHTTPConnection to take a custom backend as an input?
Also, publishing httpcore._exceptions and maybe httpcore._types might be a good idea as those are useful on the outside of the library (e. g. the only way to catch TimeoutException only is to import it from the private module :-)
Hey there and thanks for your awesome libraries!
I was planning on reviving @florimondmanca's https://github.com/florimondmanca/httpx-unixsocket-poc. I've managed to get it working but hesitate publishing a proper package for now as it's tightly coupled with things that are now private APIs.
I understand that publishing a lot of APIs might not be in scope for httpcore but it is useful in some cases like this one. Are there any plans to...
httpcore._backends.asyncio.SocketStreamandhttpcore._async.connection.AsyncHTTPConnection?AsyncHTTPConnectionto take a custom backend as an input?Also, publishing
httpcore._exceptionsand maybehttpcore._typesmight be a good idea as those are useful on the outside of the library (e. g. the only way to catchTimeoutExceptiononly is to import it from the private module :-)