#include <array>
#include <deque>
#include <chrono>
#include <QMap>
#include <QFile>
#include <QString>
#include <QDateTime>
#include <QStringList>
#include <QHostAddress>
#include <QSslConfiguration>
#include <QTimeZone>
#include "libmythbase/http/mythhttpcommon.h"
#include "libmythbase/http/mythmimetype.h"
Go to the source code of this file.
|
enum | MythHTTPVersion { HTTPUnknownVersion = 0,
HTTPZeroDotNine,
HTTPOneDotZero,
HTTPOneDotOne
} |
|
enum | MythHTTPRequestType {
HTTPUnknown = 0x0000,
HTTPHead = 0x0001,
HTTPGet = 0x0002,
HTTPPost = 0x0004,
HTTPPut = 0x0008,
HTTPDelete = 0x0010,
HTTPOptions = 0x0020
} |
|
enum | MythHTTPStatus {
HTTPSwitchingProtocols = 101,
HTTPOK = 200,
HTTPAccepted = 202,
HTTPPartialContent = 206,
HTTPMovedPermanently = 301,
HTTPNotModified = 304,
HTTPBadRequest = 400,
HTTPUnauthorized = 401,
HTTPForbidden = 403,
HTTPNotFound = 404,
HTTPMethodNotAllowed = 405,
HTTPRequestTimeout = 408,
HTTPRequestedRangeNotSatisfiable = 416,
HTTPTooManyRequests = 429,
HTTPInternalServerError = 500,
HTTPNotImplemented = 501,
HTTPBadGateway = 502,
HTTPServiceUnavailable = 503,
HTTPNetworkAuthenticationRequired = 511
} |
|
enum | MythHTTPConnection { HTTPConnectionClose = 0,
HTTPConnectionKeepAlive,
HTTPConnectionUpgrade
} |
|
enum | MythHTTPEncode { HTTPNoEncode = 0,
HTTPGzip,
HTTPChunked
} |
|
enum | MythHTTPCacheType {
HTTPIgnoreCache = 0x0000,
HTTPNoCache = 0x0001,
HTTPETag = 0x0002,
HTTPLastModified = 0x0004,
HTTPShortLife = 0x0100,
HTTPMediumLife = 0x0200,
HTTPLongLife = 0x0400
} |
|
◆ HTTP_SOCKET_TIMEOUT_MS
#define HTTP_SOCKET_TIMEOUT_MS 10000 |
◆ HTTP_SERVICES_DIR
#define HTTP_SERVICES_DIR QString("/services/") |
◆ HTTP_DEFAULT_ALLOWED
◆ HTTPMap
using HTTPMap = QMultiMap<QString,QString> |
◆ HTTPQueries
◆ HTTPHeaders
◆ HTTPData
◆ HTTPContents
◆ HTTPRequest2
◆ HTTPResponse
◆ HTTPFile
◆ HTTPVariant
◆ HTTPQueue
◆ HTTPRange
using HTTPRange = std::pair<uint64_t,uint64_t> |
◆ HTTPRanges
◆ HTTPFunction
◆ HTTPHandler
◆ HTTPHandlers
◆ HTTPMulti
◆ HTTPRegisterTypes
◆ HTTPServicePtr
◆ HTTPServicePtrs
◆ HTTPServiceCtor
◆ HTTPService
◆ HTTPServices
◆ MythHTTPVersion
Enumerator |
---|
HTTPUnknownVersion | |
HTTPZeroDotNine | |
HTTPOneDotZero | |
HTTPOneDotOne | |
Definition at line 82 of file mythhttptypes.h.
◆ MythHTTPRequestType
Enumerator |
---|
HTTPUnknown | |
HTTPHead | |
HTTPGet | |
HTTPPost | |
HTTPPut | |
HTTPDelete | |
HTTPOptions | |
Definition at line 90 of file mythhttptypes.h.
◆ MythHTTPStatus
Enumerator |
---|
HTTPSwitchingProtocols | |
HTTPOK | |
HTTPAccepted | |
HTTPPartialContent | |
HTTPMovedPermanently | |
HTTPNotModified | |
HTTPBadRequest | |
HTTPUnauthorized | |
HTTPForbidden | |
HTTPNotFound | |
HTTPMethodNotAllowed | |
HTTPRequestTimeout | |
HTTPRequestedRangeNotSatisfiable | |
HTTPTooManyRequests | |
HTTPInternalServerError | |
HTTPNotImplemented | |
HTTPBadGateway | |
HTTPServiceUnavailable | |
HTTPNetworkAuthenticationRequired | |
Definition at line 105 of file mythhttptypes.h.
◆ MythHTTPConnection
Enumerator |
---|
HTTPConnectionClose | |
HTTPConnectionKeepAlive | |
HTTPConnectionUpgrade | |
Definition at line 128 of file mythhttptypes.h.
◆ MythHTTPEncode
Enumerator |
---|
HTTPNoEncode | |
HTTPGzip | |
HTTPChunked | |
Definition at line 135 of file mythhttptypes.h.
◆ MythHTTPCacheType
Enumerator |
---|
HTTPIgnoreCache | |
HTTPNoCache | |
HTTPETag | |
HTTPLastModified | |
HTTPShortLife | |
HTTPMediumLife | |
HTTPLongLife | |
Definition at line 142 of file mythhttptypes.h.
◆ s_multipartBoundary
QString s_multipartBoundary = "mYtHtVxXxXxX" |
|
static |
◆ s_defaultHTTPPage
QString s_defaultHTTPPage |
|
static |