|
kodi
|


Public Member Functions | |
| NPT_HttpFileRequestHandler (const char *url_root, const char *file_root, bool auto_dir=false, const char *auto_index=NULL) | |
| NPT_Result | SetupResponse (NPT_HttpRequest &request, const NPT_HttpRequestContext &context, NPT_HttpResponse &response) override |
| NPT_Map< NPT_String, NPT_String > & | GetFileTypeMap () |
| void | SetDefaultMimeType (const char *mime_type) |
| void | SetUseDefaultFileTypeMap (bool use_default) |
Public Member Functions inherited from NPT_HttpRequestHandler | |
| virtual NPT_Result | SendResponseBody (const NPT_HttpRequestContext &context, NPT_HttpResponse &response, NPT_OutputStream &output) |
| Override this method if you want to write the body yourself. More... | |
| virtual void | Completed (NPT_Result) |
| A notification method called by the server upon completing the processing of a request. | |
Static Public Member Functions | |
| static const char * | GetDefaultContentType (const char *extension) |
| static NPT_Result | SetupResponseBody (NPT_HttpResponse &response, NPT_InputStreamReference &stream, const NPT_String *range_spec=NULL) |
Protected Member Functions | |
| const char * | GetContentType (const NPT_String &filename) |
1.8.13