summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocketframe_p.h
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2013-10-13 12:15:07 +0200
committerKurt Pattyn <pattyn.kurt@gmail.com>2013-10-13 12:25:04 +0200
commit7d27956893423e0447aedaa0038bf38e5725ddfd (patch)
treea40ccd821b073f4c8f7e4d4a83d1df9ea1b5d84e /src/websockets/qwebsocketframe_p.h
parente420d258afeb52adf14e4101e5ead8b0981a1718 (diff)
downloadqtwebsockets-7d27956893423e0447aedaa0038bf38e5725ddfd.tar.gz
Added TODO explaining some optimizations
Moved documentation from .h to .cpp Export QWebSocketFrame class for unit testing Added unit tests for web socket frames Change-Id: I824da86fed37fbcd1f5671a21467af7a66f5c019 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/qwebsocketframe_p.h')
-rw-r--r--src/websockets/qwebsocketframe_p.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/websockets/qwebsocketframe_p.h b/src/websockets/qwebsocketframe_p.h
index 434fead..5dc0957 100644
--- a/src/websockets/qwebsocketframe_p.h
+++ b/src/websockets/qwebsocketframe_p.h
@@ -29,19 +29,7 @@ QT_BEGIN_NAMESPACE
const quint64 MAX_FRAME_SIZE_IN_BYTES = INT_MAX - 1;
const quint64 MAX_MESSAGE_SIZE_IN_BYTES = INT_MAX - 1;
-/*!
- \class Frame
- The class Frame is responsible for reading, validating and interpreting frames from a websocket.
- It reads data from a QIODevice, validates it against RFC 6455, and parses it into a frame (data, control).
- Whenever an error is detected, the isValid() returns false.
-
- \note The Frame class does not look at valid sequences of frames. It processes frames one at a time.
- \note It is the DataProcessor that takes the sequence into account.
-
- \sa DataProcessor()
- \internal
- */
-class QWebSocketFrame
+class Q_AUTOTEST_EXPORT QWebSocketFrame
{
public:
QWebSocketFrame();