Support for custom socket?
I'm looking for an HTTP library that has support for custom sockets. That is, I implement my own socket open, connect, send functions. I know that libcurl has this option. Is it implemented in cpr? If not, is it easy to implement?
I'm reading through a bunch of HTTP libraries and therefore I don't have the time to read the sources of each one, so I'll be glad if someone could give me this information.
Thank you very much :)
Hi @lucaszanella.
To make it short: No, CPR currently does not support custom sockets.
We also currently do not plan to add support for this.
I'm keeping this one open, in case somebody wants to create a PR for this.
For later reference: https://curl.haxx.se/libcurl/c/externalsocket.html
I would like to work on the issue in the next few weeks and hopefully create a PR :)
Sure, thanks @simon-berger !
Unfortunately, I won't have the time to work on the issue anymore. Therefore I unassigned myself and hope that someone else wants to take over this issue.
Bumping. This feature would be great