#include <HttpRangeUtils.h>
◆ GenerateContentRangeHeaderValue() [1/2]
std::string HttpRangeUtils::GenerateContentRangeHeaderValue |
( |
const CHttpRange * | range | ) |
|
|
static |
Generates a valid Content-Range HTTP header value for the given HTTP range definition.
- Parameters
-
range | HTTP range definition used to generate the Content-Range HTTP header |
- Returns
- Content-Range HTTP header value
◆ GenerateContentRangeHeaderValue() [2/2]
std::string HttpRangeUtils::GenerateContentRangeHeaderValue |
( |
uint64_t | start, |
|
|
uint64_t | end, |
|
|
uint64_t | total ) |
|
static |
Generates a valid Content-Range HTTP header value for the given HTTP range properties.
- Parameters
-
start | Start position of the HTTP range |
end | Last/End position of the HTTP range |
total | Total length of original content (not just the range) |
- Returns
- Content-Range HTTP header value
The documentation for this class was generated from the following files: