mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
adds security policy interface documentation
This commit is contained in:
@@ -39,6 +39,25 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
// 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 {
|
||||
|
||||
Reference in New Issue
Block a user