diff --git a/websocketpp/transport/asio/security/base.hpp b/websocketpp/transport/asio/security/base.hpp index 158d09eadc..bf73db7e51 100644 --- a/websocketpp/transport/asio/security/base.hpp +++ b/websocketpp/transport/asio/security/base.hpp @@ -39,6 +39,25 @@ #include #include +// Interface that sockets/security policies must impliment + +/** + * Endpoint Interface + * + * bool is_secure() const; + * @return Wether or not the endpoint creates secure connections + * + * lib::error_code init(socket_con_ptr scon); + * Called by the transport after a new connection is created to initialize + * the socket component of the connection. + * @param scon Pointer to the socket component of the connection + * @return Error code (empty on success) + */ + + +/// Connection +/// TODO + namespace websocketpp { namespace transport { namespace asio {