|
int | GetVersion () |
|
WebSocketState | GetState () |
|
virtual bool | Handshake (const char *data, size_t length, std::string &response)=0 |
|
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) |
|
virtual const CWebSocketFrame * | Ping (const char *data=NULL) const =0 |
|
virtual const CWebSocketFrame * | Pong (const char *data=NULL) const =0 |
|
virtual const CWebSocketFrame * | Close (WebSocketCloseReason reason=WebSocketCloseNormal, const std::string &message="")=0 |
|
virtual void | Fail ()=0 |
|
|
virtual CWebSocketFrame * | GetFrame (const char *data, uint64_t length)=0 |
|
virtual 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)=0 |
|
virtual CWebSocketMessage * | GetMessage ()=0 |
|
The documentation for this class was generated from the following files:
- xbmc/network/websocket/WebSocket.h
- xbmc/network/websocket/WebSocket.cpp