D++ (DPP)  10.0.30
C++ Discord API Bot Library
sslclient.h File Reference
#include <dpp/export.h>
#include <dpp/misc-enum.h>
#include <string>
#include <functional>
#include <dpp/socket.h>
#include <cstdint>
Include dependency graph for sslclient.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dpp::ssl_client
 Implements a simple non-blocking SSL stream client. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Typedefs

typedef std::function< dpp::socket()> dpp::socket_callback_t
 A callback for socket status. More...
 
typedef std::function< void()> dpp::socket_notification_t
 A socket notification callback. More...
 

Functions

bool dpp::close_socket (dpp::socket sfd)
 Close a socket. More...
 
bool dpp::set_nonblocking (dpp::socket sockfd, bool non_blocking)
 Set a socket to blocking or non-blocking IO. More...