kodi
WebSocketV13.h
1 /*
2  * Copyright (C) 2011-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "WebSocketV8.h"
12 
13 #include <string>
14 
16 {
17 public:
18  CWebSocketV13() { m_version = 13; }
19 
20  bool Handshake(const char* data, size_t length, std::string &response) override;
21  const CWebSocketFrame* Close(WebSocketCloseReason reason = WebSocketCloseNormal, const std::string &message = "") override;
22 };
Definition: WebSocketV13.h:15
Definition: WebSocket.h:49
Definition: WebSocketV8.h:15