-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status of ssl::stream::get_io_service() #132
Comments
How about calling |
I use |
Related #252 |
I see the rationale, it is to trim the interface only to exactly that which is necessary. This is important to get consensus in the committee meetings for voting Net-TS into the standard. If you need a handy and short getter, you can always implement a simple free function that works with any object and calls |
Since ASIO 1.13 socket and other stuff can be constructed using just executor. So |
basic_stream_socket::get_io_service()
is marked as deprecated. But what aboutssl::stream::get_io_service()
? It doesn't haveget_executor()
and doestn't compile ifASIO_NO_DEPRECATED
is defined.P.S. And why
get_io_service()
was deprecated? What should be used instead to obtain io_service from socket?The text was updated successfully, but these errors were encountered: