| kodi
    | 


| Public Member Functions | |
| MHD_RESULT | HandleRequest () override | 
| Handles the HTTP request.  More... | |
| bool | CanHandleRanges () const override | 
| Whether the HTTP response could also be provided in ranges. | |
| bool | CanBeCached () const override | 
| Whether the HTTP response can be cached. | |
| bool | GetLastModifiedDate (CDateTime &lastModified) const override | 
| Returns the last modification date of the response data.  More... | |
| std::string | GetRedirectUrl () const override | 
| Returns the URL to which the request should be redirected.  More... | |
| std::string | GetResponseFile () const override | 
| Returns the path to the file that should be returned as the response.  More... | |
|  Public Member Functions inherited from IHTTPRequestHandler | |
| virtual IHTTPRequestHandler * | Create (const HTTPRequest &request) const =0 | 
| Creates a new HTTP request handler for the given request.  More... | |
| virtual int | GetPriority () const | 
| Returns the priority of the HTTP request handler.  More... | |
| virtual bool | CanHandleRequest (const HTTPRequest &request) const =0 | 
| Checks if the HTTP request handler can handle the given request.  More... | |
| virtual int | GetMaximumAgeForCaching () const | 
| Returns the maximum age (in seconds) for which the response can be cached.  More... | |
| virtual HttpResponseRanges | GetResponseData () const | 
| Returns the ranges with raw data belonging to the response.  More... | |
| const HTTPRequest & | GetRequest () const | 
| Returns the HTTP request handled by the HTTP request handler. | |
| bool | IsRequestRanged () const | 
| Returns true if the HTTP request is ranged, otherwise false. | |
| void | SetRequestRanged (bool ranged) | 
| Sets whether the HTTP request contains ranges or not. | |
| void | SetResponseStatus (int status) | 
| Sets the response status of the HTTP response.  More... | |
| bool | HasResponseHeader (const std::string &field) const | 
| Checks if the given HTTP header field is part of the response details.  More... | |
| bool | AddResponseHeader (const std::string &field, const std::string &value, bool allowMultiple=false) | 
| Adds the given HTTP header field and value to the response details.  More... | |
| const HTTPResponseDetails & | GetResponseDetails () const | 
| Returns the HTTP response header details. | |
| void | AddPostField (const std::string &key, const std::string &value) | 
| Adds the given key-value pair extracted from the HTTP POST data.  More... | |
| bool | AddPostData (const char *data, size_t size) | 
| Adds the given raw HTTP POST data.  More... | |
| Protected Member Functions | |
| CHTTPFileHandler (const HTTPRequest &request) | |
| void | SetFile (const std::string &file, int responseStatus) | 
| void | SetCanHandleRanges (bool canHandleRanges) | 
| void | SetCanBeCached (bool canBeCached) | 
| void | SetLastModifiedDate (const struct __stat64 *buffer) | 
|  Protected Member Functions inherited from IHTTPRequestHandler | |
| IHTTPRequestHandler (const HTTPRequest &request) | |
| virtual bool | appendPostData (const char *data, size_t size) | 
| bool | GetRequestedRanges (uint64_t totalLength) | 
| bool | GetHostnameAndPort (std::string &hostname, uint16_t &port) | 
| Additional Inherited Members | |
|  Protected Attributes inherited from IHTTPRequestHandler | |
| HTTPRequest | m_request | 
| HTTPResponseDetails | m_response | 
| std::map< std::string, std::string > | m_postFields | 
| 
 | overridevirtual | 
Returns the last modification date of the response data.
This is only used if the response can be cached.
Reimplemented from IHTTPRequestHandler.
| 
 | inlineoverridevirtual | 
Returns the URL to which the request should be redirected.
This is only used if the response type is HTTPRedirect.
Reimplemented from IHTTPRequestHandler.
| 
 | inlineoverridevirtual | 
Returns the path to the file that should be returned as the response.
This is only used if the response type is HTTPFileDownload.
Reimplemented from IHTTPRequestHandler.
| 
 | overridevirtual | 
Handles the HTTP request.
Implements IHTTPRequestHandler.
 1.8.13
 1.8.13