Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include "WebSocketV8.h"
#include "WebSocket.h"
#include "utils/Base64.h"
#include "utils/Digest.h"
#include "utils/EndianSwap.h"
#include "utils/HttpParser.h"
#include "utils/HttpResponse.h"
#include "utils/StringUtils.h"
#include "utils/log.h"
#include <sstream>
#include <string>
Macros | |
#define | WS_HTTP_METHOD "GET" |
#define | WS_HTTP_TAG "HTTP/" |
#define | WS_HEADER_UPGRADE "Upgrade" |
#define | WS_HEADER_CONNECTION "Connection" |
#define | WS_HEADER_KEY_LC "sec-websocket-key" |
#define | WS_HEADER_ACCEPT "Sec-WebSocket-Accept" |
#define | WS_HEADER_PROTOCOL "Sec-WebSocket-Protocol" |
#define | WS_HEADER_PROTOCOL_LC "sec-websocket-protocol" |
#define | WS_PROTOCOL_JSONRPC "jsonrpc.xbmc.org" |
#define | WS_HEADER_UPGRADE_VALUE "websocket" |
#define | WS_KEY_MAGICSTRING "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" |
#define WS_HEADER_ACCEPT "Sec-WebSocket-Accept" |
#define WS_HEADER_CONNECTION "Connection" |
#define WS_HEADER_KEY_LC "sec-websocket-key" |
#define WS_HEADER_PROTOCOL "Sec-WebSocket-Protocol" |
#define WS_HEADER_PROTOCOL_LC "sec-websocket-protocol" |
#define WS_HEADER_UPGRADE "Upgrade" |
#define WS_HEADER_UPGRADE_VALUE "websocket" |
#define WS_HTTP_METHOD "GET" |
#define WS_HTTP_TAG "HTTP/" |
#define WS_KEY_MAGICSTRING "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" |
#define WS_PROTOCOL_JSONRPC "jsonrpc.xbmc.org" |