Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
boost::beast::ssl_stream< NextLayer > Class Template Reference

#include <ssl_stream.h>

Inheritance diagram for boost::beast::ssl_stream< NextLayer >:

Public Types

using native_handle_type = typename stream_type::native_handle_type
 The native handle type of the SSL stream.
 
using impl_struct = typename stream_type::impl_struct
 Structure for use with deprecated impl_type.
 
using next_layer_type = typename stream_type::next_layer_type
 The type of the next layer.
 
using lowest_layer_type = typename stream_type::lowest_layer_type
 The type of the lowest layer.
 
using executor_type = typename stream_type::executor_type
 The type of the executor associated with the object.
 

Public Member Functions

template<class Arg >
 ssl_stream (Arg &&arg, boost::asio::ssl::context &ctx)
 
 ssl_stream (ssl_stream &&other)
 
ssl_streamoperator= (ssl_stream &&other)
 
executor_type get_executor () noexcept
 
native_handle_type native_handle ()
 
next_layer_type const & next_layer () const
 
next_layer_typenext_layer ()
 
lowest_layer_typelowest_layer ()
 
lowest_layer_type const & lowest_layer () const
 
void set_verify_mode (boost::asio::ssl::verify_mode v)
 
boost::system::error_code set_verify_mode (boost::asio::ssl::verify_mode v, boost::system::error_code &ec)
 
void set_verify_depth (int depth)
 
boost::system::error_code set_verify_depth (int depth, boost::system::error_code &ec)
 
template<class VerifyCallback >
void set_verify_callback (VerifyCallback callback)
 
template<class VerifyCallback >
boost::system::error_code set_verify_callback (VerifyCallback callback, boost::system::error_code &ec)
 
void handshake (handshake_type type)
 
boost::system::error_code handshake (handshake_type type, boost::system::error_code &ec)
 
template<class ConstBufferSequence >
void handshake (handshake_type type, ConstBufferSequence const &buffers)
 
template<class ConstBufferSequence >
boost::system::error_code handshake (handshake_type type, ConstBufferSequence const &buffers, boost::system::error_code &ec)
 
template<class HandshakeHandler >
 BOOST_ASIO_INITFN_RESULT_TYPE (HandshakeHandler, void(boost::system::error_code)) async_handshake(handshake_type type
 
 BOOST_ASIO_MOVE_ARG (HandshakeHandler) handler)
 
template<class ConstBufferSequence , class BufferedHandshakeHandler >
 BOOST_ASIO_INITFN_RESULT_TYPE (BufferedHandshakeHandler, void(boost::system::error_code, std::size_t)) async_handshake(handshake_type type
 
ConstBufferSequence const BOOST_ASIO_MOVE_ARG (BufferedHandshakeHandler) handler)
 
void shutdown ()
 
boost::system::error_code shutdown (boost::system::error_code &ec)
 
template<class ShutdownHandler >
 BOOST_ASIO_INITFN_RESULT_TYPE (ShutdownHandler, void(boost::system::error_code)) async_shutdown(BOOST_ASIO_MOVE_ARG(ShutdownHandler) handler)
 
template<class ConstBufferSequence >
std::size_t write_some (ConstBufferSequence const &buffers)
 
template<class ConstBufferSequence >
std::size_t write_some (ConstBufferSequence const &buffers, boost::system::error_code &ec)
 
template<class ConstBufferSequence , class WriteHandler >
 BOOST_ASIO_INITFN_RESULT_TYPE (WriteHandler, void(boost::system::error_code, std::size_t)) async_write_some(ConstBufferSequence const &buffers
 
 BOOST_ASIO_MOVE_ARG (WriteHandler) handler)
 
template<class MutableBufferSequence >
std::size_t read_some (MutableBufferSequence const &buffers)
 
template<class MutableBufferSequence >
std::size_t read_some (MutableBufferSequence const &buffers, boost::system::error_code &ec)
 
template<class MutableBufferSequence , class ReadHandler >
 BOOST_ASIO_INITFN_RESULT_TYPE (ReadHandler, void(boost::system::error_code, std::size_t)) async_read_some(MutableBufferSequence const &buffers
 
 BOOST_ASIO_MOVE_ARG (ReadHandler) handler)
 

Public Attributes

ConstBufferSequence const & buffers
 

Friends

template<class SyncStream >
void teardown (boost::beast::websocket::role_type, ssl_stream< SyncStream > &stream, boost::system::error_code &ec)
 
template<class AsyncStream , class TeardownHandler >
void async_teardown (boost::beast::websocket::role_type, ssl_stream< AsyncStream > &stream, TeardownHandler &&handler)
 

Detailed Description

template<class NextLayer>
class boost::beast::ssl_stream< NextLayer >

C++11 enabled SSL socket wrapper

This wrapper provides an interface identical to boost::asio::ssl::stream, with the following additional properties:


The documentation for this class was generated from the following file: