MythTV  master
Classes | Typedefs | Enumerations
mythwebsockettypes.h File Reference
#include <deque>
#include <QString>
#include "libmythbase/http/mythhttpcommon.h"
Include dependency graph for mythwebsockettypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MythWebSocketFrame
 
class  MythWS
 

Typedefs

using WSQueue = std::deque< DataPayload >
 
using WSFrame = std::shared_ptr< MythWebSocketFrame >
 

Enumerations

enum  WSOpCode {
  WSOpContinuation = 0x0, WSOpTextFrame = 0x1, WSOpBinaryFrame = 0x2, WSOpReserved3 = 0x3,
  WSOpReserved4 = 0x4, WSOpReserved5 = 0x5, WSOpReserved6 = 0x6, WSOpReserved7 = 0x7,
  WSOpClose = 0x8, WSOpPing = 0x9, WSOpPong = 0xA, WSOpReservedB = 0xB,
  WSOpReservedC = 0xC, WSOpReservedD = 0xD, WSOpReservedE = 0xE, WSOpReservedF = 0xF
}
 
enum  WSErrorCode {
  WSCloseNormal = 1000, WSCloseGoingAway = 1001, WSCloseProtocolError = 1002, WSCloseUnsupported = 1003,
  WSCloseNoStatus = 1005, WSCloseAbnormal = 1006, WSCloseBadData = 1007, WSClosePolicy = 1008,
  WSCloseTooLarge = 1009, WSCloseNoExtensions = 1010, WSCloseUnexpectedErr = 1011, WSCloseNoTLS = 1012,
  WSCloseTLSHandshakeError = 1015
}
 

Typedef Documentation

◆ WSQueue

using WSQueue = std::deque<DataPayload>

Definition at line 50 of file mythwebsockettypes.h.

◆ WSFrame

using WSFrame = std::shared_ptr<MythWebSocketFrame>

Definition at line 53 of file mythwebsockettypes.h.

Enumeration Type Documentation

◆ WSOpCode

enum WSOpCode
Enumerator
WSOpContinuation 
WSOpTextFrame 
WSOpBinaryFrame 
WSOpReserved3 
WSOpReserved4 
WSOpReserved5 
WSOpReserved6 
WSOpReserved7 
WSOpClose 
WSOpPing 
WSOpPong 
WSOpReservedB 
WSOpReservedC 
WSOpReservedD 
WSOpReservedE 
WSOpReservedF 

Definition at line 13 of file mythwebsockettypes.h.

◆ WSErrorCode

Enumerator
WSCloseNormal 
WSCloseGoingAway 
WSCloseProtocolError 
WSCloseUnsupported 
WSCloseNoStatus 
WSCloseAbnormal 
WSCloseBadData 
WSClosePolicy 
WSCloseTooLarge 
WSCloseNoExtensions 
WSCloseUnexpectedErr 
WSCloseNoTLS 
WSCloseTLSHandshakeError 

Definition at line 33 of file mythwebsockettypes.h.