Commit 5a9f2cbe by Michael Brachmann

debugging routing

parent 7fe019c9
...@@ -15,6 +15,8 @@ type ...@@ -15,6 +15,8 @@ type
['{673FE678-D9EF-468D-89CB-CEF26E8758BC}'] ['{673FE678-D9EF-468D-89CB-CEF26E8758BC}']
[HttpGet, Route('emimobile')] [HttpGet, Route('emimobile')]
procedure WebSockerConnectionHandler; procedure WebSockerConnectionHandler;
[HttpGet, Route('health')]
function Health: string;
end; end;
implementation implementation
......
...@@ -22,6 +22,7 @@ type ...@@ -22,6 +22,7 @@ type
TWebSocketService = class(TInterfacedObject, IWebSocketService) TWebSocketService = class(TInterfacedObject, IWebSocketService)
private private
procedure WebSockerConnectionHandler; procedure WebSockerConnectionHandler;
function Health: string;
procedure ProcessJsonMessage(const AMsg: string); procedure ProcessJsonMessage(const AMsg: string);
end; end;
...@@ -88,6 +89,11 @@ begin ...@@ -88,6 +89,11 @@ begin
end; end;
end; end;
function TWebSocketService.Health: string;
begin
Result := 'ok';
end;
procedure TWebSocketService.ProcessJsonMessage(const AMsg: string); procedure TWebSocketService.ProcessJsonMessage(const AMsg: string);
var var
MsgDTO: TBaseRequest; MsgDTO: TBaseRequest;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment