WebSocket: Pass the value of useHixie76Protocol flag to WebSocket object
[WebKit-https.git] / Source / WebCore / websockets / WebSocketChannel.cpp
index e56114f3f4630a0245e60fdd4e21cfc8d8d7ca56..c1a4074afefc842fefd01bb6856d03f5701c55b5 100644 (file)
@@ -116,6 +116,11 @@ WebSocketChannel::~WebSocketChannel()
     fastFree(m_buffer);
 }
 
+bool WebSocketChannel::useHixie76Protocol()
+{
+    return m_useHixie76Protocol;
+}
+
 void WebSocketChannel::connect()
 {
     LOG(Network, "WebSocketChannel %p connect", this);