![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <WebSocketV8.h>
Public Member Functions | |
CWebSocketV8 () | |
bool | Handshake (const char *data, size_t length, std::string &response) override |
const CWebSocketFrame * | Ping (const char *data=NULL) const override |
const CWebSocketFrame * | Pong (const char *data, uint32_t length) const override |
const CWebSocketFrame * | Close (WebSocketCloseReason reason=WebSocketCloseNormal, const std::string &message="") override |
void | Fail () override |
![]() | |
CWebSocket () | |
virtual | ~CWebSocket () |
int | GetVersion () |
WebSocketState | GetState () |
virtual const CWebSocketMessage * | Handle (const char *&buffer, size_t &length, bool &send) |
virtual const CWebSocketMessage * | Send (WebSocketFrameOpcode opcode, const char *data=NULL, uint32_t length=0) |
Protected Member Functions | |
CWebSocketFrame * | GetFrame (const char *data, uint64_t length) override |
CWebSocketFrame * | GetFrame (WebSocketFrameOpcode opcode, const char *data=NULL, uint32_t length=0, bool final=true, bool masked=false, int32_t mask=0, int8_t extension=0) override |
CWebSocketMessage * | GetMessage () override |
virtual const CWebSocketFrame * | close (WebSocketCloseReason reason=WebSocketCloseNormal, const std::string &message="") |
std::string | calculateKey (const std::string &key) |
![]() |
Additional Inherited Members | |
![]() | |
int | m_version |
WebSocketState | m_state |
CWebSocketMessage * | m_message |
|
inline |
|
protected |
|
overridevirtual |
Implements CWebSocket.
|
protectedvirtual |
|
overridevirtual |
Implements CWebSocket.
|
overrideprotectedvirtual |
Implements CWebSocket.
|
overrideprotectedvirtual |
Implements CWebSocket.
|
overrideprotectedvirtual |
Implements CWebSocket.
|
overridevirtual |
Implements CWebSocket.
|
inlineoverridevirtual |
Implements CWebSocket.
|
inlineoverridevirtual |
Implements CWebSocket.