mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-02-20 15:14:26 +01:00
19 lines
418 B
C++
19 lines
418 B
C++
|
#pragma once
|
|||
|
|
|||
|
#include <brynet/net/SSLHelper.hpp>
|
|||
|
#include <brynet/net/TcpConnection.hpp>
|
|||
|
|
|||
|
namespace brynet { namespace net { namespace detail {
|
|||
|
|
|||
|
class ConnectionOption final
|
|||
|
{
|
|||
|
public:
|
|||
|
std::vector<TcpConnection::EnterCallback> enterCallback;
|
|||
|
SSLHelper::Ptr sslHelper;
|
|||
|
bool useSSL = false;
|
|||
|
bool forceSameThreadLoop = false;
|
|||
|
size_t maxRecvBufferSize = 128;
|
|||
|
};
|
|||
|
|
|||
|
}}}// namespace brynet::net::detail
|