Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include "WebSocketV13.h"
#include "WebSocket.h"
#include "utils/HttpParser.h"
#include "utils/HttpResponse.h"
#include "utils/StringUtils.h"
#include "utils/log.h"
#include <algorithm>
#include <sstream>
#include <string>
Macros | |
#define | WS_HTTP_METHOD "GET" |
#define | WS_HTTP_TAG "HTTP/" |
#define | WS_HEADER_UPGRADE "Upgrade" |
#define | WS_HEADER_UPGRADE_LC "upgrade" |
#define | WS_HEADER_CONNECTION "Connection" |
#define | WS_HEADER_CONNECTION_LC "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_HEADER_ACCEPT "Sec-WebSocket-Accept" |
#define WS_HEADER_CONNECTION "Connection" |
#define WS_HEADER_CONNECTION_LC "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_LC "upgrade" |
#define WS_HEADER_UPGRADE_VALUE "websocket" |
#define WS_HTTP_METHOD "GET" |
#define WS_HTTP_TAG "HTTP/" |
#define WS_PROTOCOL_JSONRPC "jsonrpc.xbmc.org" |