1
0
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:
f4exb
2017-11-20 18:38:26 +01:00
parent 7fa26835bd
commit 1b5f944302
9 changed files with 9091 additions and 5 deletions
+4 -1
View File
@@ -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 */