Go to the documentation of this file. 1 #ifndef MYTHHTTPRANGES_H
2 #define MYTHHTTPRANGES_H
static void BuildMultipartHeaders(MythHTTPResponse *Response)
std::variant< std::monostate, HTTPData, HTTPFile > HTTPVariant
static HTTPMulti HandleRangeWrite(HTTPVariant Data, int64_t Available, int64_t &ToWrite, int64_t &Offset)
std::pair< HTTPData, HTTPData > HTTPMulti
static MythHTTPStatus ParseRanges(const QString &Request, int64_t TotalSize, HTTPRanges &Ranges, int64_t &PartialSize)
Parse a range request header.
static QString GetRangeHeader(HTTPRanges &Ranges, int64_t Size)
std::pair< uint64_t, uint64_t > HTTPRange
std::vector< HTTPRange > HTTPRanges
static void HandleRangeRequest(MythHTTPResponse *Response, const QString &Request)