Open vinniefalco opened 5 years ago
@vinniefalco Can you clearify on this, is there any way i can make beast to work with standalone Asio using this method?
I have no idea. You need to change the includes from <boost/asio/*>
to <asio/*>
or whatever the standalone asio uses. And then fix the resulting compilation errors.
Beast uses the
net
namespace to access Asio symbols, so you should in theory be able to just modify the config file:https://github.com/boostorg/beast/blob/41040a21f0b0e12537beb1262c2d538a023efe65/include/boost/beast/core/detail/config.hpp#L24
If there are places in the code which don't compile with standalone, I am more than happy to take patches or apply fixes.