#include <socket.h>
An interface for classes that can create IWebSocket instances. An IWebSocketFactory generally supports the ws and wss protocols.
- See also
- RegisterWebSocketFactory
◆ ~IWebSocketFactory()
| virtual ttv::IWebSocketFactory::~IWebSocketFactory |
( |
| ) |
|
|
virtualdefault |
◆ CreateWebSocket()
| virtual TTV_ErrorCode ttv::IWebSocketFactory::CreateWebSocket |
( |
const std::string & |
uri, |
|
|
std::shared_ptr< IWebSocket > & |
result |
|
) |
| |
|
pure virtual |
◆ IsProtocolSupported()
| virtual bool ttv::IWebSocketFactory::IsProtocolSupported |
( |
const std::string & |
protocol | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- modules/core/core_common/include/twitchsdk/core/socket.h