mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
Web API: send API documentation if path is invalid
This commit is contained in:
@@ -55,9 +55,12 @@ public:
|
||||
/** Constructor with settings structure */
|
||||
StaticFileController(const HttpDocrootSettings& settings, QObject* parent = NULL);
|
||||
|
||||
/** Generates the response */
|
||||
/** Generates the response from HTTP request */
|
||||
void service(HttpRequest& request, HttpResponse& response);
|
||||
|
||||
/** Generates the response directly from the path */
|
||||
void service(QByteArray& path, HttpResponse& response);
|
||||
|
||||
private:
|
||||
|
||||
/** Encoding of text files */
|
||||
|
||||
Reference in New Issue
Block a user