forked fromglynos/cpp-netlib
- Notifications
You must be signed in to change notification settings - Fork425
Open
Description
The online documentation for v.0.11.0 uses an asynchronous example in the section which discusses the synchronous server:
using namespace boost::network::http; // parameters are in this namespacehandler handler_instance;async_server<handler>::options options(handler_instance);options.address("0.0.0.0") .port("80") .io_service(boost::make_shared<boost::asio::io_service>()) .thread_pool(boost::make_shared<boost::network::utils::thread_pool>(2)) .reuse_address(true);async_server<handler> instance(options);instance.run();Metadata
Metadata
Assignees
Labels
No labels