Add API GET Ping
This commit is contained in:
parent
1265c7a072
commit
9eee6683fa
@ -213,6 +213,9 @@ public class Server : GlobalBase
|
||||
SendResponse(HttpStatusCode.OK, response,
|
||||
Enum.GetValues<LibraryConnector.LibraryType>().Select(lc => new KeyValuePair<byte, string?>((byte)lc, Enum.GetName(lc))));
|
||||
break;
|
||||
case "Ping":
|
||||
SendResponse(HttpStatusCode.OK, response, "Pong");
|
||||
break;
|
||||
default:
|
||||
SendResponse(HttpStatusCode.BadRequest, response);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user