qicosmos / rest_rpc

modern C++(C++11), simple, easy to use rpc framework
MIT License
1.66k stars 365 forks source link

增加ASIO的隔离 #58

Closed ruoleng closed 2 years ago

ruoleng commented 2 years ago

原来的代码已经在使用ASIO库了,用的io_context而不是io_service,所以使用方式不一样。 能否增加一下实现隔离或者修改为使用io_context的方式? 或者用Impl的方式隐藏ASIO的使用?