| 57 | } |
| 58 | |
| 59 | std::unique_ptr<Socket> createSocket(const std::string &host, const uint16_t port) { |
| 60 | T *socket = create(host, port); |
| 61 | return std::unique_ptr<Socket>(socket); |
| 62 | } |
| 63 | |
| 64 | std::unique_ptr<Socket> createSecureSocket(const std::string &host, const uint16_t port, const std::shared_ptr<minifi::controllers::SSLContextService> &ssl_service) { |
| 65 | #ifdef OPENSSL_SUPPORT |
no outgoing calls
no test coverage detected