mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-02-20 15:14:26 +01:00
22 lines
430 B
C++
22 lines
430 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 detail
|
|
} // namespace net
|
|
} // namespace brynet
|