ccapi: Upgrade to v5.31.2
This commit is contained in:
1 parent
b91431e518
commit
7a3fae62c3
32 files changed
+203
-17
No files matched your search
@@ -7,18 +7,23 @@
|
||||
#include "websocketpp/config/boost_config.hpp"
|
||||
namespace wspp = websocketpp;
|
||||
namespace ccapi {
|
||||
|
||||
/**
|
||||
* Defines the service that the service depends on.
|
||||
*/
|
||||
class ServiceContext CCAPI_FINAL {
|
||||
public:
|
||||
typedef wspp::lib::asio::io_service IoContext;
|
||||
typedef wspp::lib::shared_ptr<wspp::lib::asio::io_service> IoContextPtr;
|
||||
struct CustomClientConfig : public wspp::config::asio_tls_client {
|
||||
#ifdef WEBSOCKETPP_ENABLE_SINGLE_THREADING
|
||||
#ifdef CCAPI_USE_SINGLE_THREAD
|
||||
typedef wspp::config::asio_tls_client base;
|
||||
static bool const enable_multithreading = false;
|
||||
struct transport_config : public base::transport_config {
|
||||
static bool const enable_multithreading = false;
|
||||
};
|
||||
#endif
|
||||
#ifdef CCAPI_WEBSOCKET_READ_BUFFER_SIZE
|
||||
static const size_t connection_read_buffer_size = CCAPI_WEBSOCKET_READ_BUFFER_SIZE;
|
||||
#endif
|
||||
static const wspp::log::level alog_level = wspp::log::alevel::none;
|
||||
static const wspp::log::level elog_level = wspp::log::elevel::none;
|
||||
|
||||
Reference in new issue
Block a user