16 class StandardWebSocket;
17 class StandardWebSocketFactory;
18 struct StandardWebSocketInnerData;
51 virtual bool IsProtocolSupported(
const std::string& protocol);
TTV_ErrorCode PollBaseSocket()
virtual bool Connected() override
std::unique_ptr< SocketData > mInnerData
Definition: standardwebsocket.h:43
virtual TTV_ErrorCode Send(MessageType type, const uint8_t *buffer, size_t length) override
TTV_ErrorCode CreateWebSocket(const std::string &uri, std::shared_ptr< IWebSocket > &result)
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
virtual TTV_ErrorCode Recv(MessageType &type, uint8_t *buffer, size_t length, size_t &received) override
virtual TTV_ErrorCode Peek(MessageType &type, size_t &length) override
Definition: standardwebsocket.h:22
virtual ~StandardWebSocket()
uint32_t TTV_ErrorCode
Definition: errortypes.h:30
virtual TTV_ErrorCode Disconnect() override
TTV_ErrorCode Initialize(const std::string &uri)
virtual TTV_ErrorCode Connect() override
MessageType
Definition: socket.h:296
Definition: standardwebsocket.h:47