MythTV
master
|
#include <utility>
#include <QBuffer>
#include <QDateTime>
#include <QFile>
#include <QRegularExpression>
#include <QTcpSocket>
#include <QTextStream>
#include "libmythbase/mythsession.h"
#include "upnpexp.h"
#include "upnputil.h"
#include "serializers/serializer.h"
Go to the source code of this file.
Classes | |
struct | MIMETypes |
class | IPostProcess |
class | HTTPRequest |
class | BufferedSocketDeviceRequest |
class | HttpException |
class | HttpRedirectException |
Enumerations | |
enum | HttpRequestType : std::uint16_t { RequestTypeUnknown = 0x0000, RequestTypeGet = 0x0001, RequestTypeHead = 0x0002, RequestTypePost = 0x0004, RequestTypeOptions = 0x0040, RequestTypeMSearch = 0x0100, RequestTypeSubscribe = 0x0200, RequestTypeUnsubscribe = 0x0400, RequestTypeNotify = 0x0800, RequestTypeResponse = 0x1000 } |
enum | HttpContentType : std::uint8_t { ContentType_Unknown = 0, ContentType_Urlencoded = 1, ContentType_XML = 2, ContentType_JSON = 3 } |
enum | HttpResponseType : std::int8_t { ResponseTypeNone = -1, ResponseTypeUnknown = 0, ResponseTypeXML = 1, ResponseTypeHTML = 2, ResponseTypeJS = 3, ResponseTypeCSS = 4, ResponseTypeText = 5, ResponseTypeSVG = 6, ResponseTypeFile = 7, ResponseTypeOther = 8, ResponseTypeHeader = 9 } |
Variables | |
static constexpr const char * | SOAP_ENVELOPE_BEGIN |
static constexpr const char * | SOAP_ENVELOPE_END { "</s:Body>\r\n</s:Envelope>" } |
enum HttpRequestType : std::uint16_t |
Enumerator | |
---|---|
RequestTypeUnknown | |
RequestTypeGet | |
RequestTypeHead | |
RequestTypePost | |
RequestTypeOptions | |
RequestTypeMSearch | |
RequestTypeSubscribe | |
RequestTypeUnsubscribe | |
RequestTypeNotify | |
RequestTypeResponse |
Definition at line 44 of file httprequest.h.
enum HttpContentType : std::uint8_t |
Enumerator | |
---|---|
ContentType_Unknown | |
ContentType_Urlencoded | |
ContentType_XML | |
ContentType_JSON |
Definition at line 66 of file httprequest.h.
enum HttpResponseType : std::int8_t |
Enumerator | |
---|---|
ResponseTypeNone | |
ResponseTypeUnknown | |
ResponseTypeXML | |
ResponseTypeHTML | |
ResponseTypeJS | |
ResponseTypeCSS | |
ResponseTypeText | |
ResponseTypeSVG | |
ResponseTypeFile | |
ResponseTypeOther | |
ResponseTypeHeader |
Definition at line 74 of file httprequest.h.
|
staticconstexpr |
Definition at line 34 of file httprequest.h.
Referenced by HTTPRequest::FormatActionResponse(), and HTTPRequest::FormatErrorResponse().
|
staticconstexpr |
Definition at line 37 of file httprequest.h.
Referenced by HTTPRequest::FormatActionResponse(), and HTTPRequest::FormatErrorResponse().