MythTV  master
Classes | Macros | Enumerations
httprequest.h File Reference
#include <QFile>
#include <QRegExp>
#include <QBuffer>
#include <QTextStream>
#include <QTcpSocket>
#include <QDateTime>
#include "mythsession.h"
#include "upnpexp.h"
#include "upnputil.h"
#include "serializers/serializer.h"
Include dependency graph for httprequest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MIMETypes
 
class  IPostProcess
 
class  HTTPRequest
 
class  BufferedSocketDeviceRequest
 
class  HttpException
 
class  HttpRedirectException
 

Macros

#define SOAP_ENVELOPE_BEGIN
 
#define SOAP_ENVELOPE_END   "</s:Body>\r\n</s:Envelope>";
 

Enumerations

enum  HttpRequestType {
  RequestTypeUnknown = 0x0000, RequestTypeGet = 0x0001, RequestTypeHead = 0x0002, RequestTypePost = 0x0004,
  RequestTypeOptions = 0x0040, RequestTypeMSearch = 0x0100, RequestTypeSubscribe = 0x0200, RequestTypeUnsubscribe = 0x0400,
  RequestTypeNotify = 0x0800, RequestTypeResponse = 0x1000
}
 
enum  HttpContentType { ContentType_Unknown = 0, ContentType_Urlencoded = 1, ContentType_XML = 2 }
 
enum  HttpResponseType {
  ResponseTypeNone = -1, ResponseTypeUnknown = 0, ResponseTypeXML = 1, ResponseTypeHTML = 2,
  ResponseTypeJS = 3, ResponseTypeCSS = 4, ResponseTypeText = 5, ResponseTypeSVG = 6,
  ResponseTypeFile = 7, ResponseTypeOther = 8, ResponseTypeHeader = 9
}
 

Macro Definition Documentation

◆ SOAP_ENVELOPE_BEGIN

#define SOAP_ENVELOPE_BEGIN
Value:
"<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\" " \
"s:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">" \
"<s:Body>"

Definition at line 29 of file httprequest.h.

◆ SOAP_ENVELOPE_END

#define SOAP_ENVELOPE_END   "</s:Body>\r\n</s:Envelope>";

Definition at line 32 of file httprequest.h.

Enumeration Type Documentation

◆ HttpRequestType

Enumerator
RequestTypeUnknown 
RequestTypeGet 
RequestTypeHead 
RequestTypePost 
RequestTypeOptions 
RequestTypeMSearch 
RequestTypeSubscribe 
RequestTypeUnsubscribe 
RequestTypeNotify 
RequestTypeResponse 

Definition at line 39 of file httprequest.h.

◆ HttpContentType

Enumerator
ContentType_Unknown 
ContentType_Urlencoded 
ContentType_XML 

Definition at line 61 of file httprequest.h.

◆ HttpResponseType

Enumerator
ResponseTypeNone 
ResponseTypeUnknown 
ResponseTypeXML 
ResponseTypeHTML 
ResponseTypeJS 
ResponseTypeCSS 
ResponseTypeText 
ResponseTypeSVG 
ResponseTypeFile 
ResponseTypeOther 
ResponseTypeHeader 

Definition at line 69 of file httprequest.h.