Files
itgmania212121/extern/IXWebSocket-11.3.2/ixwebsocket/IXSocketFactory.h
T

22 lines
500 B
C++
Raw Normal View History

2021-09-11 23:21:34 +02:00
/*
* IXSocketFactory.h
* Author: Benjamin Sergeant
* Copyright (c) 2018 Machine Zone, Inc. All rights reserved.
*/
#pragma once
#include "IXSocketTLSOptions.h"
#include <memory>
#include <string>
namespace ix
{
class Socket;
std::unique_ptr<Socket> createSocket(bool tls,
int fd,
std::string& errorMsg,
const SocketTLSOptions& tlsOptions);
} // namespace ix