\ingroup websockets-qml
\brief QML interface to QWebSocket.
- WebSockets is a web technology providing full-duplex communications channels over a single TCP connection.
- The WebSocket protocol was standardized by the IETF as RFC 6455 in 2011 (see http://tools.ietf.org/html/rfc6455).
+ WebSockets is a web technology providing full-duplex communications channels over a
+ single TCP connection.
+ The WebSocket protocol was standardized by the IETF as
+ \l {http://tools.ietf.org/html/rfc6455} {RFC 6455} in 2011.
*/
/*!
\qmlproperty QUrl WebSocket::url
- Server url to connect to. The url must have one of 2 schemes: {ws://} or {wss://}.
- When not supplied, then {ws://} is used.
+ Server url to connect to. The url must have one of 2 schemes: \e ws:// or \e wss://.
+ When not supplied, then \e ws:// is used.
*/
/*!
*/
/*!
+ \enum QWebSocketProtocol::OpCode
+
+ \inmodule QtWebSockets
+
+ The frame opcodes as defined by the WebSockets standard
+
+ \value OC_CONTINUE Continuation frame
+ \value OC_TEXT Text frame
+ \value OC_BINARY Binary frame
+ \value OC_RESERVED_3 Reserved
+ \value OC_RESERVED_4 Reserved
+ \value OC_RESERVED_5 Reserved
+ \value OC_RESERVED_6 Reserved
+ \value OC_RESERVED_7 Reserved
+ \value OC_CLOSE Close frame
+ \value OC_PING Ping frame
+ \value OC_PONG Pong frame
+ \value OC_RESERVED_B Reserved
+ \value OC_RESERVED_C Reserved
+ \value OC_RESERVED_D Reserved
+ \value OC_RESERVED_E Reserved
+ \value OC_RESERVED_F Reserved
+
+ \internal
+*/
+
+/*!
\fn QWebSocketProtocol::isOpCodeReserved(OpCode code)
Checks if \a code is a valid OpCode