Example #1
0
 stream(Arg&& arg, context& ctx)
   : next_layer_(BOOST_ASIO_MOVE_CAST(Arg)(arg)),
     core_(ctx.native_handle(),
         next_layer_.lowest_layer().get_executor().context())
 {
 }
 stream(Arg& arg, context& ctx)
   : next_layer_(arg),
     core_(ctx.native_handle(), next_layer_.lowest_layer().get_io_service())
 {
   backwards_compatible_impl_.ssl = core_.engine_.native_handle();
 }
Example #3
0
 stream(Arg& arg, context& ctx)
   : next_layer_(arg),
     core_(ctx.native_handle(),
         next_layer_.lowest_layer().get_executor().context())
 {
 }